implements IDisposable
0x00x00D0
Members 40
| Offset | Size | Name | Type | Flags | Default |
|---|---|---|---|---|---|
| — | 0x04 | k_MaxQueuedFrameCount | uint | Static+2 flags | 2395842688 |
| — | 0x04 | k_PruneEmptyPageFrameCount | int | Static+2 flags | -1899124608 |
| 0x08 | m_DefaultStencilState | long | Private | — | |
| 0x08 | m_VertexDecl | long | Private | — | |
| 0x08 | m_FirstPage | Page | Private | — | |
| 0x04 | m_NextPageVertexCount | uint | Private | — | |
| 0x04 | m_LargeMeshVertexCount | uint | Private | — | |
| 0x04 | m_IndexToVertexCountRatio | float | Private | — | |
| 0x0034 | 0x04 | padding / unreflected | |||
| 0x08 | m_DeferredFrees | List<System.Collections.Generic.List<UnityEngine.UIElements.UIR.UIRenderDevice.AllocToFree>> | Private | — | |
| 0x08 | m_Updates | List<System.Collections.Generic.List<UnityEngine.UIElements.UIR.UIRenderDevice.AllocToUpdate>> | Private | — | |
| 0x08 | m_MeshesPendingFree | List<UnityEngine.UIElements.UIR.MeshHandle> | Private | — | |
| 0x08 | m_CommandListManager | CommandListManager | Private | — | |
| 0x08 | m_Fences | uint[] | Private | — | |
| 0x08 | m_ConstantProps | MaterialPropertyBlock | Private | — | |
| 0x08 | m_BatchProps | MaterialPropertyBlock | Private | — | |
| 0x04 | m_FrameIndex | uint | Private | — | |
| 0x04 | m_NextUpdateID | uint | Private | — | |
| 0x2C | m_DrawStats | DrawStatistics | Private | — | |
| 0x01 | m_RenderingInProgress | bool | Private | — | |
| 0x00A5 | 0x03 | padding / unreflected | |||
| 0x08 | m_MeshHandles | LinkedPool<UnityEngine.UIElements.UIR.MeshHandle> | Private+1 flags | — | |
| 0x08 | m_DrawParams | DrawParams | Private+1 flags | — | |
| 0x08 | m_TextureSlotManager | TextureSlotManager | Private+1 flags | — | |
| 0x08 | m_ScreenSpaceAlteredMaterials | HashSet<UnityEngine.Material> | Private | — | |
| 0x08 | m_DeviceFreeQueue | LinkedList<UnityEngine.UIElements.UIR.UIRenderDevice.DeviceToFree> | PrivateStatic | — | |
| 0x04 | m_ActiveDeviceCount | int | PrivateStatic | — | |
| 0x01 | m_SubscribedToNotifications | bool | PrivateStatic | — | |
| 0x01 | m_SynchronousFree | bool | PrivateStatic | — | |
| 0x04 | s_GradientSettingsTexID | int | PrivateStatic+1 flags | — | |
| 0x04 | s_ShaderInfoTexID | int | PrivateStatic+1 flags | — | |
| 0x08 | s_MarkerAllocate | ProfilerMarker | PrivateStatic | — | |
| 0x08 | s_MarkerFree | ProfilerMarker | PrivateStatic | — | |
| 0x08 | s_MarkerAdvanceFrame | ProfilerMarker | PrivateStatic | — | |
| 0x08 | s_MarkerFence | ProfilerMarker | PrivateStatic | — | |
| 0x08 | s_MarkerBeforeDraw | ProfilerMarker | PrivateStatic | — | |
| 0x01 | <breakBatches>k__BackingField | bool | Private | — | |
| 0x01 | <isFlat>k__BackingField | bool | Private+1 flags | — | |
| 0x01 | <forceGammaRendering>k__BackingField | bool | Private+1 flags | — | |
| 0x01 | <disposed>k__BackingField | bool | Private | — | |
| 0x08 | s_EvaluationFlagsToTextureSlotCount | int[] | PrivateStatic+1 flags | — | |
| 0x08 | s_TextureSlotCountToEvaluationFlags | int[] | PrivateStatic+1 flags | — | |
| 0x00CC | 0x04 | unreflected bytes to end of UIRenderDevice | |||
Functions 44
| Signature | Flags | Native | Params |
|---|---|---|---|
| uint get_maxVerticesPerPage() | Static+2 flags | 0x04 | |
| bool get_breakBatches() | 2 flags | 0x01 | |
| void set_breakBatches(bool value) | 2 flags | 0x01 | |
| bool get_isFlat() | 2 flags | 0x01 | |
| bool get_forceGammaRendering() | 2 flags | 0x01 | |
| void .cctor() | PrivateStatic+1 flags | 0x00 | |
| void .ctor(uint initialVertexCapacity, uint initialIndexCapacity, bool isFlat, bool forceGammaRendering) | Public+1 flags | 0x04 | |
| void InitVertexDeclaration() | Private | 0x00 | |
| bool get_disposed() | 2 flags | 0x01 | |
| void set_disposed(bool value) | Private+1 flags | 0x01 | |
| void Dispose() | PublicFinal+2 flags | 0x00 | |
| void Dispose(bool disposing) | 3 flags | 0x01 | |
| MeshHandle Allocate(uint vertexCount, uint indexCount, ref NativeSlice<UnityEngine.UIElements.Vertex>& vertexData, ref NativeSlice<System.UInt16>& indexData, ref ushort& indexOffset) | Public | 0x10 | |
| void Update(MeshHandle mesh, uint vertexCount, ref NativeSlice<UnityEngine.UIElements.Vertex>& vertexData) | Public | 0x10 | |
| void Update(MeshHandle mesh, uint vertexCount, uint indexCount, ref NativeSlice<UnityEngine.UIElements.Vertex>& vertexData, ref NativeSlice<System.UInt16>& indexData, ref ushort& indexOffset) | Public | 0x10 | |
| void UpdateCopyBackIndices(MeshHandle mesh, bool copyBackIndices) | Private | 0x08 | |
| List<UnityEngine.UIElements.UIR.UIRenderDevice.AllocToUpdate> ActiveUpdatesForMeshHandle(MeshHandle mesh) | 1 flags | 0x08 | |
| bool TryAllocFromPage(Page page, uint vertexCount, uint indexCount, ref Alloc& va, ref Alloc& ia, bool shortLived) | Private | 0x18 | |
| void Allocate(MeshHandle meshHandle, uint vertexCount, uint indexCount, ref NativeSlice<UnityEngine.UIElements.Vertex>& vertexData, ref NativeSlice<System.UInt16>& indexData, bool shortLived) | Private | 0x10 | |
| 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) | Private | 0x50 | |
| void Free(MeshHandle mesh) | Public | 0x08 | |
| void OnFrameRenderingBegin() | Public | 0x00 | |
| NativeSlice<T> PtrToSlice(const Void*& p, int count) | Static+1 flags | 0x10 | |
| int FlagsToTextureSlotCount(const EvaluationFlags& flags) | PrivateStatic | 0x04 | |
| EvaluationFlags TextureSlotCountToFlags(const TextureSlotCount& count) | PrivateStatic | 0x04 | |
| void ApplyDrawCommandState(RenderChainCommand cmd, int textureSlot, Material newMat, bool newMatDiffers, MaterialPropertyBlock userProps, const EvaluationFlags& defaultTextureSlotCountFlags, bool kickRanges, Texture gradientSettings, Texture shaderInfo, ref EvaluationState& st) | Private | 0x48 | |
| void ApplyBatchState(ref EvaluationState& st) | Private | 0x48 | |
| 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) | Public | 0x14 | |
| void ResetScreenSpaceMaterials() | Private | 0x00 | |
| void InitializeConstantProperties(MaterialPropertyBlock constantProps, Texture gradientSettings, Texture shaderInfo) | Private | 0x08 | |
| void SetupCommandList(ref EvaluationState& st, Texture gradientSettings, Texture shaderInfo, const CommandFlags& commandFlags) | Private | 0x48 | |
| void UpdateFenceValue() | Private | 0x00 | |
| void KickRanges(const DrawBufferRange*& ranges, ref int& rangesReady, ref int& rangesStart, int rangesCount, Page curPage, CommandList commandList) | Private | 0x08 | |
| void DrawRanges(GPUBuffer<System.UInt16> ib, GPUBuffer<UnityEngine.UIElements.Vertex> vb, const NativeSlice<UnityEngine.UIElements.UIR.DrawBufferRange>& ranges, CommandList commandList) | Private | 0x10 | |
| void WaitOnCpuFence(uint fence) | Private | 0x04 | |
| void AdvanceFrame() | Public | 0x00 | |
| void PruneUnusedPages() | Private | 0x00 | |
| void PrepareForGfxDeviceRecreate() | Static+1 flags | 0x00 | |
| void WrapUpGfxDeviceRecreate() | Static+1 flags | 0x00 | |
| void FlushAllPendingDeviceDisposes() | Static+1 flags | 0x00 | |
| DrawStatistics GatherDrawStatistics() | 1 flags | 0x2C | |
| void ProcessDeviceFreeQueue() | PublicStatic | 0x00 | |
| void OnEngineUpdateGlobal() | PrivateStatic | 0x00 | |
| void OnFlushPendingResources() | PrivateStatic | 0x00 |