implements IDisposable
0x00x00D0
Members 35
| Offset | Size | Name | Type | Flags | Default |
|---|---|---|---|---|---|
| 0x01 | m_MockDevice | bool | Private+1 flags | — | |
| 0x0011 | 0x07 | padding / unreflected | |||
| 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 | — | |
| 0x003C | 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_CommandLists | List<UnityEngine.UIElements.UIR.CommandList>[] | 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 | — | |
| 0x00A4 | 0x04 | 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_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 | — | |
| 0x01 | <drawsInCameras>k__BackingField | bool | Private | — | |
| 0x00C3 | 0x01 | padding / unreflected | |||
| 0x04 | currentFrameCommandListCount | int | 1 flags | — | |
| 0x01 | <disposed>k__BackingField | bool | Private | — | |
| 0x00C9 | 0x07 | unreflected bytes to end of UIRenderDevice | |||
Functions 47
| 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 | |
| void set_isFlat(bool value) | 2 flags | 0x01 | |
| bool get_drawsInCameras() | 2 flags | 0x01 | |
| void set_drawsInCameras(bool value) | 2 flags | 0x01 | |
| uint get_frameIndex() | 2 flags | 0x04 | |
| List<UnityEngine.UIElements.UIR.CommandList>[] get_commandLists() | 2 flags | 0x08 | |
| List<UnityEngine.UIElements.UIR.CommandList> get_currentFrameCommandLists() | 2 flags | 0x08 | |
| void .cctor() | PrivateStatic+1 flags | 0x00 | |
| void .ctor(uint initialVertexCapacity, uint initialIndexCapacity) | Public+1 flags | 0x04 | |
| void .ctor(uint initialVertexCapacity, uint initialIndexCapacity, bool mockDevice) | 2 flags | 0x04 | |
| void InitVertexDeclaration() | Private | 0x00 | |
| void CompleteCreation() | Private | 0x00 | |
| bool get_fullyCreated() | Private+1 flags | 0x01 | |
| 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 | |
| void ApplyDrawCommandState(RenderChainCommand cmd, int textureSlot, Material newMat, bool newMatDiffers, ref EvaluationState& st) | Private | 0x48 | |
| void ApplyBatchState(ref EvaluationState& st) | Private | 0x48 | |
| void EvaluateChain(RenderChainCommand head, Material initialMat, Material defaultMat, Texture gradientSettings, Texture shaderInfo, float pixelsPerPoint, ref Exception& immediateException) | Public | 0x08 | |
| 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 |