implements IDisposable
0x00x00B0
Members 40
| 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_Fences | uint[] | Private | — | |
| 0x08 | m_StandardMatProps | MaterialPropertyBlock | Private | — | |
| 0x04 | m_FrameIndex | uint | Private | — | |
| 0x04 | m_NextUpdateID | uint | Private | — | |
| 0x24 | m_DrawStats | DrawStatistics | Private | — | |
| 0x008C | 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_FontTexPropID | int | PrivateStatic+1 flags | — | |
| 0x04 | s_FontTexSDFScaleID | int | PrivateStatic+1 flags | — | |
| 0x04 | s_GradientSettingsTexID | int | PrivateStatic+1 flags | — | |
| 0x04 | s_ShaderInfoTexID | int | PrivateStatic+1 flags | — | |
| 0x04 | s_TransformsPropID | int | PrivateStatic+1 flags | — | |
| 0x04 | s_ClipRectsPropID | int | PrivateStatic+1 flags | — | |
| 0x04 | s_ClipSpaceParamsID | 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 | — | |
| 0x02 | s_VertexTexturingIsAvailable | Nullable<System.Boolean> | PrivateStatic | — | |
| 0x02 | s_ShaderModelIs35 | Nullable<System.Boolean> | PrivateStatic | — | |
| 0x04 | <maxVerticesPerPage>k__BackingField | uint | Private+1 flags | — | |
| 0x01 | <breakBatches>k__BackingField | bool | Private | — | |
| 0x08 | s_DefaultShaderInfoTexFloat | Texture2D | PrivateStatic | — | |
| 0x08 | s_DefaultShaderInfoTexARGB8 | Texture2D | PrivateStatic | — | |
| 0x01 | <disposed>k__BackingField | bool | Private | — | |
| 0x00AE | 0x02 | unreflected bytes to end of UIRenderDevice | |||
Functions 45
| Signature | Flags | Native | Params |
|---|---|---|---|
| uint get_maxVerticesPerPage() | 2 flags | 0x04 | |
| bool get_breakBatches() | 2 flags | 0x01 | |
| void set_breakBatches(bool value) | 2 flags | 0x01 | |
| 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 | |
| Texture2D get_defaultShaderInfoTexFloat() | Static+2 flags | 0x08 | |
| Texture2D get_defaultShaderInfoTexARGB8() | Static+2 flags | 0x08 | |
| bool get_vertexTexturingIsAvailable() | Static+2 flags | 0x01 | |
| bool get_shaderModelIs35() | Static+2 flags | 0x01 | |
| 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, const NativeSlice<UnityEngine.UIElements.Vertex>&& vertexData, const NativeSlice<System.UInt16>&& indexData, ushort indexOffset) | Public | 0x10 | |
| void Update(MeshHandle mesh, uint vertexCount, const NativeSlice<UnityEngine.UIElements.Vertex>&& vertexData) | Public | 0x10 | |
| void Update(MeshHandle mesh, uint vertexCount, uint indexCount, const NativeSlice<UnityEngine.UIElements.Vertex>&& vertexData, const NativeSlice<System.UInt16>&& indexData, 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, const Alloc&& va, const Alloc&& ia, bool shortLived) | Private | 0x18 | |
| void Allocate(MeshHandle meshHandle, uint vertexCount, uint indexCount, const NativeSlice<UnityEngine.UIElements.Vertex>&& vertexData, const NativeSlice<System.UInt16>&& indexData, bool shortLived) | Private | 0x10 | |
| void UpdateAfterGPUUsedData(MeshHandle mesh, uint vertexCount, uint indexCount, const NativeSlice<UnityEngine.UIElements.Vertex>&& vertexData, const NativeSlice<System.UInt16>&& indexData, ushort indexOffset, const AllocToUpdate&& allocToUpdate, bool copyBackIndices) | Private | 0x50 | |
| void Free(MeshHandle mesh) | Public | 0x08 | |
| Vector4 GetClipSpaceParams() | PrivateStatic | 0x10 | |
| void OnFrameRenderingBegin() | Public | 0x00 | |
| NativeSlice<T> PtrToSlice(const Void*& p, int count) | PrivateStatic | — | 0x10 |
| void ApplyDrawCommandState(RenderChainCommand cmd, int textureSlot, Material newMat, bool newMatDiffers, bool newFontDiffers, const EvaluationState&& st) | Private | 0x40 | |
| void ApplyBatchState(const EvaluationState&& st, bool allowMaterialChange) | Private | 0x40 | |
| void EvaluateChain(RenderChainCommand head, Material initialMat, Material defaultMat, Texture gradientSettings, Texture shaderInfo, float pixelsPerPoint, const NativeSlice<UnityEngine.UIElements.UIR.Transform3x4>& transforms, const NativeSlice<UnityEngine.Vector4>& clipRects, MaterialPropertyBlock stateMatProps, bool allowMaterialChange, Exception& immediateException) | Public | 0x10 | |
| void UpdateFenceValue() | Private | 0x00 | |
| void KickRanges(const DrawBufferRange*& ranges, int rangesReady, int rangesStart, int rangesCount, Page curPage) | Private | 0x08 | |
| void DrawRanges(GPUBuffer<I> ib, GPUBuffer<T> vb, const NativeSlice<UnityEngine.UIElements.UIR.DrawBufferRange>& ranges) | 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 | 0x24 | |
| void ProcessDeviceFreeQueue() | PrivateStatic | 0x00 | |
| void OnEngineUpdateGlobal() | PrivateStatic | 0x00 | |
| void OnFlushPendingResources() | PrivateStatic | 0x00 |