Method SetRayTracingConstantBufferParam
SetRayTracingConstantBufferParam(RayTracingShader, int, ComputeBuffer, int, int)
Wraps SetRayTracingConstantBufferParam on a CommandBuffer.
Declaration
void SetRayTracingConstantBufferParam(RayTracingShader rayTracingShader, int nameID, ComputeBuffer buffer, int offset, int size)
Parameters
Type | Name | Description |
---|---|---|
RayTracingShader | rayTracingShader | |
int | nameID | |
ComputeBuffer | buffer | |
int | offset | |
int | size |
SetRayTracingConstantBufferParam(RayTracingShader, string, ComputeBuffer, int, int)
Wraps SetRayTracingConstantBufferParam on a CommandBuffer.
Declaration
void SetRayTracingConstantBufferParam(RayTracingShader rayTracingShader, string name, ComputeBuffer buffer, int offset, int size)
Parameters
Type | Name | Description |
---|---|---|
RayTracingShader | rayTracingShader | |
string | name | |
ComputeBuffer | buffer | |
int | offset | |
int | size |
SetRayTracingConstantBufferParam(RayTracingShader, int, GraphicsBuffer, int, int)
Wraps SetRayTracingConstantBufferParam on a CommandBuffer.
Declaration
void SetRayTracingConstantBufferParam(RayTracingShader rayTracingShader, int nameID, GraphicsBuffer buffer, int offset, int size)
Parameters
Type | Name | Description |
---|---|---|
RayTracingShader | rayTracingShader | |
int | nameID | |
GraphicsBuffer | buffer | |
int | offset | |
int | size |
SetRayTracingConstantBufferParam(RayTracingShader, string, GraphicsBuffer, int, int)
Wraps SetRayTracingConstantBufferParam on a CommandBuffer.
Declaration
void SetRayTracingConstantBufferParam(RayTracingShader rayTracingShader, string name, GraphicsBuffer buffer, int offset, int size)
Parameters
Type | Name | Description |
---|---|---|
RayTracingShader | rayTracingShader | |
string | name | |
GraphicsBuffer | buffer | |
int | offset | |
int | size |