implements IDisposable
0x00x0030
Members 12
| Offset | Size | Name | Type | Flags | Default |
|---|---|---|---|---|---|
| 0x08 | shader | ComputeShader | Private+1 flags | — | |
| 0x04 | kernelInitPrimitiveCounts | int | Private+1 flags | — | |
| 0x04 | kernelFindTreeletRoots | int | Private+1 flags | — | |
| 0x04 | kernelRestructure | int | Private+1 flags | — | |
| 0x04 | kernelPrepareTreeletsDispatchSize | int | Private+1 flags | — | |
| — | 0x04 | numIterations | int | PrivateStatic+1 flags | 3 |
| 0x08 | treeletDispatchIndirectBuffer | GraphicsBuffer | Private+1 flags | — | |
| — | 0x04 | kGroupSize | uint | PrivateStatic+1 flags | 256 |
| — | 0x04 | kTrianglesPerThread | uint | PrivateStatic+1 flags | 8 |
| — | 0x04 | kTrianglesPerGroup | uint | PrivateStatic+1 flags | 2048 |
| — | 0x04 | kMinPrimitivesPerTreelet | uint | PrivateStatic+1 flags | 64 |
| — | 0x04 | kMaxThreadGroupsPerDispatch | int | PrivateStatic+1 flags | 65535 |
Functions 6
| Signature | Flags | Native | Params |
|---|---|---|---|
| void .ctor(RadeonRaysShaders shaders) | Public+1 flags | 0x08 | |
| void Dispose() | PublicFinal+2 flags | 0x00 | |
| ulong GetScratchDataSizeInDwords(uint triangleCount) | Public | 0x08 | |
| uint GetBvhNodeCount(uint leafCount) | PublicStatic | 0x04 | |
| void Execute(CommandBuffer cmd, GraphicsBuffer vertices, int verticesOffset, uint vertexStride, uint triangleCount, GraphicsBuffer scratch, ref BottomLevelLevelAccelStruct& result) | Public | 0x20 | |
| void BindKernelArguments(CommandBuffer cmd, int kernel, GraphicsBuffer vertices, GraphicsBuffer scratch, const BottomLevelLevelAccelStruct& result) | Private | 0x20 |