Class CommandBufferExtensions
Provides extensions methods to CommandBuffer.
Inheritance
CommandBufferExtensions
Assembly: solution.dll
Syntax
public static class CommandBufferExtensions
Methods
Name |
Description |
DispatchCompute(CommandBuffer, ComputeShaderInstance, int, int, int)
|
Dispatch work on the compute shader program.
|
RequestAsyncReadback<T>(CommandBuffer, ExchangeBuffer<T>, Action)
|
Adds to the command buffer an asynchonous request to readback from the GPU buffer into ExchangeBuffer CPU list.
|
RequestAsyncReadback<T>(CommandBuffer, StructuredBuffer<T>, Action<NativeArray<T>>)
|
Adds an asynchonous GPU readback request command to the command buffer.
|
SetBufferData<T>(CommandBuffer, StructuredBuffer<T>, List<T>)
|
Adds a command to set the GPU buffer with values from a list.
|
SetComputeBufferParam(CommandBuffer, ComputeShaderInstance, int, ComputeBuffer)
|
Adds a command to set a compute buffer parameter on a compute shader.
|
SetComputeBufferParam<T>(CommandBuffer, ComputeShaderInstance, int, ExchangeBuffer<T>)
|
Adds a command to set a compute buffer parameter on a compute shader.
|
SetComputeBufferParam<T>(CommandBuffer, ComputeShaderInstance, int, StructuredBuffer<T>)
|
Adds a command to set a compute buffer parameter on a compute shader.
|
SetComputeTextureParam(CommandBuffer, ComputeShaderInstance, int, Texture)
|
Adds a command to set a texture parameter on a compute shader.
|
SetRayTracingBufferParam<T>(CommandBuffer, RayTracingShader, int, ExchangeBuffer<T>)
|
Adds a command to set a compute buffer parameter on a RayTracingShader.
|
SetRayTracingBufferParam<T>(CommandBuffer, RayTracingShader, int, StructuredBuffer<T>)
|
Adds a command to set a compute buffer parameter on a RayTracingShader.
|