implements IDisposable
0x00x0028
Members 3
| Offset | Size | Name | Type | Flags | Default |
|---|---|---|---|---|---|
| 0x08 | _accelStruct | IRayTracingAccelStruct | Private | — | |
| 0x08 | _instances | AccelStructInstances | Private | — | |
| 0x08 | _objectHandleToInstances | Dictionary<System.Int32 | Private+1 flags | — |
Functions 21
| Signature | Flags | Native | Params |
|---|---|---|---|
| AccelStructInstances get_Instances() | 2 flags | 0x08 | |
| void .ctor(IRayTracingAccelStruct accelStruct, GeometryPool geometryPool) | Public+1 flags | 0x08 | |
| void .ctor(IRayTracingAccelStruct accelStruct, RayTracingResources resources) | Public+1 flags | 0x08 | |
| IRayTracingAccelStruct GetAccelerationStructure() | Public | 0x08 | |
| GeometryPool get_GeometryPool() | Public+1 flags | 0x08 | |
| void Bind(CommandBuffer cmd, const string& propertyName, IRayTracingShader shader) | Public | 0x08 | |
| void Dispose() | PublicFinal+2 flags | 0x00 | |
| void AddInstance(int objectHandle, Component meshRendererOrTerrain, const Span<System.UInt32>& perSubMeshMask, const Span<System.UInt32>& perSubMeshMaterialIDs, const Span<System.Boolean>& perSubMeshIsOpaque, uint renderingLayerMask) | Public | 0x10 | |
| void AddInstance(int objectHandle, Mesh mesh, const Matrix4x4& localToWorldMatrix, const Span<System.UInt32>& perSubMeshMask, const Span<System.UInt32>& perSubMeshMaterialIDs, const Span<System.Boolean>& perSubMeshIsOpaque, uint renderingLayerMask) | Public | 0x40 | |
| void AddInstance(int objectHandle, const TerrainDesc& terrainDesc) | Private | 0x58 | |
| void AddHeightmap(const TerrainDesc& terrainDesc, ref List<UnityEngine.Rendering.UnifiedRayTracing.AccelStructAdapter.InstanceIDs>& instanceHandles) | Private | 0x58 | |
| void AddTrees(const TerrainDesc& terrainDesc, ref List<UnityEngine.Rendering.UnifiedRayTracing.AccelStructAdapter.InstanceIDs>& instanceHandles) | Private | 0x58 | |
| InstanceIDs AddInstance(const MeshInstanceDesc& instanceDesc, uint materialID, uint renderingLayerMask) | Private | 0x58 | |
| void RemoveInstance(int objectHandle) | Public | 0x04 | |
| void UpdateInstanceTransform(int objectHandle, const Matrix4x4& localToWorldMatrix) | Public | 0x40 | |
| void UpdateInstanceMaterialIDs(int objectHandle, const Span<System.UInt32>& perSubMeshMaterialIDs) | Public | 0x10 | |
| void UpdateInstanceMask(int objectHandle, const Span<System.UInt32>& perSubMeshMask) | Public | 0x10 | |
| void UpdateInstanceMask(int objectHandle, uint mask) | Public | 0x04 | |
| void Build(CommandBuffer cmd, ref GraphicsBuffer& scratchBuffer) | Public | 0x08 | |
| void NextFrame() | Public | 0x00 | |
| bool GetInstanceIDs(int rendererID, ref int[]& instanceIDs) | Public | 0x08 |