Method SetRayTracingConstantBufferParam
SetRayTracingConstantBufferParam(RayTracingShader, int, ComputeBuffer, int, int)
Wraps SetRayTracingConstantBufferParam on a CommandBuffer.
Declaration
public 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 |
Implements
SetRayTracingConstantBufferParam(RayTracingShader, string, ComputeBuffer, int, int)
Wraps SetRayTracingConstantBufferParam on a CommandBuffer.
Declaration
public 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 |
Implements
SetRayTracingConstantBufferParam(RayTracingShader, int, GraphicsBuffer, int, int)
Wraps SetRayTracingConstantBufferParam on a CommandBuffer.
Declaration
public 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 |
Implements
SetRayTracingConstantBufferParam(RayTracingShader, string, GraphicsBuffer, int, int)
Wraps SetRayTracingConstantBufferParam on a CommandBuffer.
Declaration
public 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 |