Method SetRayTracingAccelerationStructure
SetRayTracingAccelerationStructure(RayTracingShader, string, RayTracingAccelerationStructure)
Wraps SetRayTracingAccelerationStructure on a CommandBuffer.
Declaration
void SetRayTracingAccelerationStructure(RayTracingShader rayTracingShader, string name, RayTracingAccelerationStructure rayTracingAccelerationStructure)
Parameters
Type | Name | Description |
---|---|---|
RayTracingShader | rayTracingShader | |
string | name | |
RayTracingAccelerationStructure | rayTracingAccelerationStructure |
SetRayTracingAccelerationStructure(RayTracingShader, int, RayTracingAccelerationStructure)
Wraps SetRayTracingAccelerationStructure on a CommandBuffer.
Declaration
void SetRayTracingAccelerationStructure(RayTracingShader rayTracingShader, int nameID, RayTracingAccelerationStructure rayTracingAccelerationStructure)
Parameters
Type | Name | Description |
---|---|---|
RayTracingShader | rayTracingShader | |
int | nameID | |
RayTracingAccelerationStructure | rayTracingAccelerationStructure |
SetRayTracingAccelerationStructure(ComputeShader, int, string, RayTracingAccelerationStructure)
Wraps SetRayTracingAccelerationStructure on a CommandBuffer.
Declaration
void SetRayTracingAccelerationStructure(ComputeShader computeShader, int kernelIndex, string name, RayTracingAccelerationStructure rayTracingAccelerationStructure)
Parameters
Type | Name | Description |
---|---|---|
ComputeShader | computeShader | |
int | kernelIndex | |
string | name | |
RayTracingAccelerationStructure | rayTracingAccelerationStructure |
SetRayTracingAccelerationStructure(ComputeShader, int, int, RayTracingAccelerationStructure)
Wraps SetRayTracingAccelerationStructure on a CommandBuffer.
Declaration
void SetRayTracingAccelerationStructure(ComputeShader computeShader, int kernelIndex, int nameID, RayTracingAccelerationStructure rayTracingAccelerationStructure)
Parameters
Type | Name | Description |
---|---|---|
ComputeShader | computeShader | |
int | kernelIndex | |
int | nameID | |
RayTracingAccelerationStructure | rayTracingAccelerationStructure |