Zdexby TheHolyOneZ
36,909 classes
Class

UIRenderDevice

: Object
UnityEngine.UIElements.UIR.UIRenderDevice, UnityEngine.UIElementsModule 0x00D0 (208 B) inherited 0x0010 UnityEngine.UIElementsModule.dll
implements IDisposable
0x00x00D0

Members 40

OffsetSizeNameTypeFlagsDefault
—0x04k_MaxQueuedFrameCountuintStatic+2 flags2395842688
—0x04k_PruneEmptyPageFrameCountintStatic+2 flags-1899124608
0x08m_DefaultStencilStatelongPrivate—
0x08m_VertexDecllongPrivate—
0x08m_FirstPagePagePrivate—
0x04m_NextPageVertexCountuintPrivate—
0x04m_LargeMeshVertexCountuintPrivate—
0x04m_IndexToVertexCountRatiofloatPrivate—
0x00340x04padding / unreflected
0x08m_DeferredFreesList<System.Collections.Generic.List<UnityEngine.UIElements.UIR.UIRenderDevice.AllocToFree>>Private—
0x08m_UpdatesList<System.Collections.Generic.List<UnityEngine.UIElements.UIR.UIRenderDevice.AllocToUpdate>>Private—
0x08m_MeshesPendingFreeList<UnityEngine.UIElements.UIR.MeshHandle>Private—
0x08m_CommandListManagerCommandListManagerPrivate—
0x08m_Fencesuint[]Private—
0x08m_ConstantPropsMaterialPropertyBlockPrivate—
0x08m_BatchPropsMaterialPropertyBlockPrivate—
0x04m_FrameIndexuintPrivate—
0x04m_NextUpdateIDuintPrivate—
0x2Cm_DrawStatsDrawStatisticsPrivate—
0x01m_RenderingInProgressboolPrivate—
0x00A50x03padding / unreflected
0x08m_MeshHandlesLinkedPool<UnityEngine.UIElements.UIR.MeshHandle>Private+1 flags—
0x08m_DrawParamsDrawParamsPrivate+1 flags—
0x08m_TextureSlotManagerTextureSlotManagerPrivate+1 flags—
0x08m_ScreenSpaceAlteredMaterialsHashSet<UnityEngine.Material>Private—
0x08m_DeviceFreeQueueLinkedList<UnityEngine.UIElements.UIR.UIRenderDevice.DeviceToFree>PrivateStatic—
0x04m_ActiveDeviceCountintPrivateStatic—
0x01m_SubscribedToNotificationsboolPrivateStatic—
0x01m_SynchronousFreeboolPrivateStatic—
0x04s_GradientSettingsTexIDintPrivateStatic+1 flags—
0x04s_ShaderInfoTexIDintPrivateStatic+1 flags—
0x08s_MarkerAllocateProfilerMarkerPrivateStatic—
0x08s_MarkerFreeProfilerMarkerPrivateStatic—
0x08s_MarkerAdvanceFrameProfilerMarkerPrivateStatic—
0x08s_MarkerFenceProfilerMarkerPrivateStatic—
0x08s_MarkerBeforeDrawProfilerMarkerPrivateStatic—
0x01<breakBatches>k__BackingFieldboolPrivate—
0x01<isFlat>k__BackingFieldboolPrivate+1 flags—
0x01<forceGammaRendering>k__BackingFieldboolPrivate+1 flags—
0x01<disposed>k__BackingFieldboolPrivate—
0x08s_EvaluationFlagsToTextureSlotCountint[]PrivateStatic+1 flags—
0x08s_TextureSlotCountToEvaluationFlagsint[]PrivateStatic+1 flags—
0x00CC0x04unreflected bytes to end of UIRenderDevice

Functions 44

SignatureFlagsNativeParams
uint get_maxVerticesPerPage()Static+2 flags0x04
bool get_breakBatches()2 flags0x01
void set_breakBatches(bool value)2 flags0x01
bool get_isFlat()2 flags0x01
bool get_forceGammaRendering()2 flags0x01
void .cctor()PrivateStatic+1 flags0x00
void .ctor(uint initialVertexCapacity, uint initialIndexCapacity, bool isFlat, bool forceGammaRendering)Public+1 flags0x04
void InitVertexDeclaration()Private0x00
bool get_disposed()2 flags0x01
void set_disposed(bool value)Private+1 flags0x01
void Dispose()PublicFinal+2 flags0x00
void Dispose(bool disposing)3 flags0x01
MeshHandle Allocate(uint vertexCount, uint indexCount, ref NativeSlice<UnityEngine.UIElements.Vertex>& vertexData, ref NativeSlice<System.UInt16>& indexData, ref ushort& indexOffset)Public0x10
void Update(MeshHandle mesh, uint vertexCount, ref NativeSlice<UnityEngine.UIElements.Vertex>& vertexData)Public0x10
void Update(MeshHandle mesh, uint vertexCount, uint indexCount, ref NativeSlice<UnityEngine.UIElements.Vertex>& vertexData, ref NativeSlice<System.UInt16>& indexData, ref ushort& indexOffset)Public0x10
void UpdateCopyBackIndices(MeshHandle mesh, bool copyBackIndices)Private0x08
List<UnityEngine.UIElements.UIR.UIRenderDevice.AllocToUpdate> ActiveUpdatesForMeshHandle(MeshHandle mesh)1 flags0x08
bool TryAllocFromPage(Page page, uint vertexCount, uint indexCount, ref Alloc& va, ref Alloc& ia, bool shortLived)Private0x18
void Allocate(MeshHandle meshHandle, uint vertexCount, uint indexCount, ref NativeSlice<UnityEngine.UIElements.Vertex>& vertexData, ref NativeSlice<System.UInt16>& indexData, bool shortLived)Private0x10
void UpdateAfterGPUUsedData(MeshHandle mesh, uint vertexCount, uint indexCount, ref NativeSlice<UnityEngine.UIElements.Vertex>& vertexData, ref NativeSlice<System.UInt16>& indexData, ref ushort& indexOffset, ref AllocToUpdate& allocToUpdate, bool copyBackIndices)Private0x50
void Free(MeshHandle mesh)Public0x08
void OnFrameRenderingBegin()Public0x00
NativeSlice<T> PtrToSlice(const Void*& p, int count)Static+1 flags0x10
int FlagsToTextureSlotCount(const EvaluationFlags& flags)PrivateStatic0x04
EvaluationFlags TextureSlotCountToFlags(const TextureSlotCount& count)PrivateStatic0x04
void ApplyDrawCommandState(RenderChainCommand cmd, int textureSlot, Material newMat, bool newMatDiffers, MaterialPropertyBlock userProps, const EvaluationFlags& defaultTextureSlotCountFlags, bool kickRanges, Texture gradientSettings, Texture shaderInfo, ref EvaluationState& st)Private0x48
void ApplyBatchState(ref EvaluationState& st)Private0x48
void EvaluateChain(RenderChainCommand head, Material defaultMat, Texture gradientSettings, Texture shaderInfo, const Nullable<UnityEngine.Rect>& scissor, const Vector2& boundsMin, float pixelsPerPoint, bool isSerializing, const TextureSlotCount& defaultTextureSlotCount, bool isRenderingNestedTreeRT, ref Exception& immediateException)Public0x14
void ResetScreenSpaceMaterials()Private0x00
void InitializeConstantProperties(MaterialPropertyBlock constantProps, Texture gradientSettings, Texture shaderInfo)Private0x08
void SetupCommandList(ref EvaluationState& st, Texture gradientSettings, Texture shaderInfo, const CommandFlags& commandFlags)Private0x48
void UpdateFenceValue()Private0x00
void KickRanges(const DrawBufferRange*& ranges, ref int& rangesReady, ref int& rangesStart, int rangesCount, Page curPage, CommandList commandList)Private0x08
void DrawRanges(GPUBuffer<System.UInt16> ib, GPUBuffer<UnityEngine.UIElements.Vertex> vb, const NativeSlice<UnityEngine.UIElements.UIR.DrawBufferRange>& ranges, CommandList commandList)Private0x10
void WaitOnCpuFence(uint fence)Private0x04
void AdvanceFrame()Public0x00
void PruneUnusedPages()Private0x00
void PrepareForGfxDeviceRecreate()Static+1 flags0x00
void WrapUpGfxDeviceRecreate()Static+1 flags0x00
void FlushAllPendingDeviceDisposes()Static+1 flags0x00
DrawStatistics GatherDrawStatistics()1 flags0x2C
void ProcessDeviceFreeQueue()PublicStatic0x00
void OnEngineUpdateGlobal()PrivateStatic0x00
void OnFlushPendingResources()PrivateStatic0x00

Used by 3

types with a member, parameter or interface of this type