implements IDisposable
0x00x0030
Members 5
| Offset | Size | Name | Type | Flags | Default |
|---|---|---|---|---|---|
| 0x08 | m_GeometryPool | GeometryPool | Private+1 flags | — | |
| 0x08 | m_InstanceBuffer | PersistentGpuArray<UnityEngine.Rendering.UnifiedRayTracing.AccelStructInstances.RTInstance> | Private+1 flags | — | |
| 0x08 | m_Instances | Dictionary<System.Int32 | Private+1 flags | — | |
| 0x04 | m_FrameTimestamp | uint | Private | — | |
| 0x04 | m_TransformTouchedLastTimestamp | uint | Private | — |
Functions 22
| Signature | Flags | Native | Params |
|---|---|---|---|
| void .ctor(GeometryPool geometryPool) | 2 flags | 0x08 | |
| void Dispose() | PublicFinal+2 flags | 0x00 | |
| PersistentGpuArray<UnityEngine.Rendering.UnifiedRayTracing.AccelStructInstances.RTInstance> get_instanceBuffer() | Public+1 flags | 0x08 | |
| IReadOnlyCollection<UnityEngine.Rendering.UnifiedRayTracing.AccelStructInstances.InstanceEntry> get_instances() | Public+1 flags | 0x08 | |
| GeometryPool get_geometryPool() | Public+1 flags | 0x08 | |
| int AddInstance(const MeshInstanceDesc& meshInstance, uint materialID, uint renderingLayerMask) | Public | 0x58 | |
| int AddInstances(const Span<UnityEngine.Rendering.UnifiedRayTracing.MeshInstanceDesc>& meshInstances, const Span<System.UInt32>& materialIDs, const Span<System.UInt32>& renderingLayerMask) | Public | 0x10 | |
| void AddInstance(const Allocation& slotAllocation, ref MeshInstanceDesc& meshInstance, uint materialID, uint renderingLayerMask) | Private | 0x58 | |
| MeshChunk GetEntryGeomAllocation(const GeometryPoolHandle& handle, int submeshIndex) | Public | 0x18 | |
| GraphicsBuffer get_indexBuffer() | Public+1 flags | 0x08 | |
| GraphicsBuffer get_vertexBuffer() | Public+1 flags | 0x08 | |
| void RemoveInstance(int instanceHandle) | Public | 0x04 | |
| void ClearInstances() | Public | 0x00 | |
| void UpdateInstanceTransform(int instanceHandle, const Matrix4x4& localToWorldMatrix) | Public | 0x40 | |
| void UpdateInstanceMaterialID(int instanceHandle, uint materialID) | Public | 0x04 | |
| void UpdateRenderingLayerMask(int instanceHandle, uint renderingLayerMask) | Public | 0x04 | |
| void UpdateInstanceMask(int instanceHandle, uint mask) | Public | 0x04 | |
| void NextFrame() | Public | 0x00 | |
| bool get_instanceListValid() | Public+1 flags | 0x01 | |
| void Bind(CommandBuffer cmd, IRayTracingShader shader) | Public | 0x08 | |
| int GetInstanceCount() | Public | 0x04 | |
| float4x4 NormalMatrix(const float4x4& m) | PrivateStatic | 0x40 |