Interface IComputeCommandBuffer
This interface declares functions that are specific to a compute command buffer.
Assembly: Unity.RenderPipelines.Core.Runtime.dll
Syntax
public interface IComputeCommandBuffer : IBaseCommandBuffer
Methods
BuildRayTracingAccelerationStructure(RayTracingAccelerationStructure)
Declaration
void BuildRayTracingAccelerationStructure(RayTracingAccelerationStructure accelerationStructure)
Parameters
BuildRayTracingAccelerationStructure(RayTracingAccelerationStructure, Vector3)
Declaration
void BuildRayTracingAccelerationStructure(RayTracingAccelerationStructure accelerationStructure, Vector3 relativeOrigin)
Parameters
CopyCounterValue(ComputeBuffer, ComputeBuffer, uint)
Declaration
void CopyCounterValue(ComputeBuffer src, ComputeBuffer dst, uint dstOffsetBytes)
Parameters
CopyCounterValue(ComputeBuffer, GraphicsBuffer, uint)
Declaration
void CopyCounterValue(ComputeBuffer src, GraphicsBuffer dst, uint dstOffsetBytes)
Parameters
CopyCounterValue(GraphicsBuffer, ComputeBuffer, uint)
Declaration
void CopyCounterValue(GraphicsBuffer src, ComputeBuffer dst, uint dstOffsetBytes)
Parameters
CopyCounterValue(GraphicsBuffer, GraphicsBuffer, uint)
Declaration
void CopyCounterValue(GraphicsBuffer src, GraphicsBuffer dst, uint dstOffsetBytes)
Parameters
DispatchCompute(ComputeShader, int, int, int, int)
Declaration
void DispatchCompute(ComputeShader computeShader, int kernelIndex, int threadGroupsX, int threadGroupsY, int threadGroupsZ)
Parameters
DispatchCompute(ComputeShader, int, ComputeBuffer, uint)
Declaration
void DispatchCompute(ComputeShader computeShader, int kernelIndex, ComputeBuffer indirectBuffer, uint argsOffset)
Parameters
DispatchCompute(ComputeShader, int, GraphicsBuffer, uint)
Declaration
void DispatchCompute(ComputeShader computeShader, int kernelIndex, GraphicsBuffer indirectBuffer, uint argsOffset)
Parameters
DispatchRays(RayTracingShader, string, uint, uint, uint, Camera)
Declaration
void DispatchRays(RayTracingShader rayTracingShader, string rayGenName, uint width, uint height, uint depth, Camera camera)
Parameters
SetBufferCounterValue(ComputeBuffer, uint)
Declaration
void SetBufferCounterValue(ComputeBuffer buffer, uint counterValue)
Parameters
SetBufferCounterValue(GraphicsBuffer, uint)
Declaration
void SetBufferCounterValue(GraphicsBuffer buffer, uint counterValue)
Parameters
SetBufferData(ComputeBuffer, Array)
Declaration
void SetBufferData(ComputeBuffer buffer, Array data)
Parameters
SetBufferData(ComputeBuffer, Array, int, int, int)
Declaration
void SetBufferData(ComputeBuffer buffer, Array data, int managedBufferStartIndex, int graphicsBufferStartIndex, int count)
Parameters
SetBufferData(GraphicsBuffer, Array)
Declaration
void SetBufferData(GraphicsBuffer buffer, Array data)
Parameters
SetBufferData(GraphicsBuffer, Array, int, int, int)
Declaration
void SetBufferData(GraphicsBuffer buffer, Array data, int managedBufferStartIndex, int graphicsBufferStartIndex, int count)
Parameters
SetBufferData<T>(ComputeBuffer, List<T>)
Declaration
void SetBufferData<T>(ComputeBuffer buffer, List<T> data) where T : struct
Parameters
Type Parameters
SetBufferData<T>(ComputeBuffer, List<T>, int, int, int)
Declaration
void SetBufferData<T>(ComputeBuffer buffer, List<T> data, int managedBufferStartIndex, int graphicsBufferStartIndex, int count) where T : struct
Parameters
Type Parameters
SetBufferData<T>(ComputeBuffer, NativeArray<T>)
Declaration
void SetBufferData<T>(ComputeBuffer buffer, NativeArray<T> data) where T : struct
Parameters
Type Parameters
SetBufferData<T>(ComputeBuffer, NativeArray<T>, int, int, int)
Declaration
void SetBufferData<T>(ComputeBuffer buffer, NativeArray<T> data, int nativeBufferStartIndex, int graphicsBufferStartIndex, int count) where T : struct
Parameters
Type Parameters
SetBufferData<T>(GraphicsBuffer, List<T>)
Declaration
void SetBufferData<T>(GraphicsBuffer buffer, List<T> data) where T : struct
Parameters
Type Parameters
SetBufferData<T>(GraphicsBuffer, List<T>, int, int, int)
Declaration
void SetBufferData<T>(GraphicsBuffer buffer, List<T> data, int managedBufferStartIndex, int graphicsBufferStartIndex, int count) where T : struct
Parameters
Type Parameters
SetBufferData<T>(GraphicsBuffer, NativeArray<T>)
Declaration
void SetBufferData<T>(GraphicsBuffer buffer, NativeArray<T> data) where T : struct
Parameters
Type Parameters
SetBufferData<T>(GraphicsBuffer, NativeArray<T>, int, int, int)
Declaration
void SetBufferData<T>(GraphicsBuffer buffer, NativeArray<T> data, int nativeBufferStartIndex, int graphicsBufferStartIndex, int count) where T : struct
Parameters
Type Parameters
SetComputeBufferParam(ComputeShader, int, int, ComputeBuffer)
Declaration
void SetComputeBufferParam(ComputeShader computeShader, int kernelIndex, int nameID, ComputeBuffer buffer)
Parameters
SetComputeBufferParam(ComputeShader, int, int, GraphicsBuffer)
Declaration
void SetComputeBufferParam(ComputeShader computeShader, int kernelIndex, int nameID, GraphicsBuffer buffer)
Parameters
SetComputeBufferParam(ComputeShader, int, int, GraphicsBufferHandle)
Declaration
void SetComputeBufferParam(ComputeShader computeShader, int kernelIndex, int nameID, GraphicsBufferHandle bufferHandle)
Parameters
SetComputeBufferParam(ComputeShader, int, string, ComputeBuffer)
Declaration
void SetComputeBufferParam(ComputeShader computeShader, int kernelIndex, string name, ComputeBuffer buffer)
Parameters
SetComputeBufferParam(ComputeShader, int, string, GraphicsBuffer)
Declaration
void SetComputeBufferParam(ComputeShader computeShader, int kernelIndex, string name, GraphicsBuffer buffer)
Parameters
SetComputeBufferParam(ComputeShader, int, string, GraphicsBufferHandle)
Declaration
void SetComputeBufferParam(ComputeShader computeShader, int kernelIndex, string name, GraphicsBufferHandle bufferHandle)
Parameters
SetComputeConstantBufferParam(ComputeShader, int, ComputeBuffer, int, int)
Declaration
void SetComputeConstantBufferParam(ComputeShader computeShader, int nameID, ComputeBuffer buffer, int offset, int size)
Parameters
SetComputeConstantBufferParam(ComputeShader, int, GraphicsBuffer, int, int)
Declaration
void SetComputeConstantBufferParam(ComputeShader computeShader, int nameID, GraphicsBuffer buffer, int offset, int size)
Parameters
SetComputeConstantBufferParam(ComputeShader, string, ComputeBuffer, int, int)
Declaration
void SetComputeConstantBufferParam(ComputeShader computeShader, string name, ComputeBuffer buffer, int offset, int size)
Parameters
SetComputeConstantBufferParam(ComputeShader, string, GraphicsBuffer, int, int)
Declaration
void SetComputeConstantBufferParam(ComputeShader computeShader, string name, GraphicsBuffer buffer, int offset, int size)
Parameters
SetComputeFloatParam(ComputeShader, int, float)
Declaration
void SetComputeFloatParam(ComputeShader computeShader, int nameID, float val)
Parameters
SetComputeFloatParam(ComputeShader, string, float)
Declaration
void SetComputeFloatParam(ComputeShader computeShader, string name, float val)
Parameters
SetComputeFloatParams(ComputeShader, int, params float[])
Declaration
void SetComputeFloatParams(ComputeShader computeShader, int nameID, params float[] values)
Parameters
SetComputeFloatParams(ComputeShader, string, params float[])
Declaration
void SetComputeFloatParams(ComputeShader computeShader, string name, params float[] values)
Parameters
SetComputeIntParam(ComputeShader, int, int)
Declaration
void SetComputeIntParam(ComputeShader computeShader, int nameID, int val)
Parameters
SetComputeIntParam(ComputeShader, string, int)
Declaration
void SetComputeIntParam(ComputeShader computeShader, string name, int val)
Parameters
SetComputeIntParams(ComputeShader, int, params int[])
Declaration
void SetComputeIntParams(ComputeShader computeShader, int nameID, params int[] values)
Parameters
SetComputeIntParams(ComputeShader, string, params int[])
Declaration
void SetComputeIntParams(ComputeShader computeShader, string name, params int[] values)
Parameters
SetComputeMatrixArrayParam(ComputeShader, int, Matrix4x4[])
Declaration
void SetComputeMatrixArrayParam(ComputeShader computeShader, int nameID, Matrix4x4[] values)
Parameters
SetComputeMatrixArrayParam(ComputeShader, string, Matrix4x4[])
Declaration
void SetComputeMatrixArrayParam(ComputeShader computeShader, string name, Matrix4x4[] values)
Parameters
SetComputeMatrixParam(ComputeShader, int, Matrix4x4)
Declaration
void SetComputeMatrixParam(ComputeShader computeShader, int nameID, Matrix4x4 val)
Parameters
SetComputeMatrixParam(ComputeShader, string, Matrix4x4)
Declaration
void SetComputeMatrixParam(ComputeShader computeShader, string name, Matrix4x4 val)
Parameters
SetComputeTextureParam(ComputeShader, int, int, TextureHandle)
Declaration
void SetComputeTextureParam(ComputeShader computeShader, int kernelIndex, int nameID, TextureHandle rt)
Parameters
SetComputeTextureParam(ComputeShader, int, int, TextureHandle, int)
Declaration
void SetComputeTextureParam(ComputeShader computeShader, int kernelIndex, int nameID, TextureHandle rt, int mipLevel)
Parameters
SetComputeTextureParam(ComputeShader, int, int, TextureHandle, int, RenderTextureSubElement)
Declaration
void SetComputeTextureParam(ComputeShader computeShader, int kernelIndex, int nameID, TextureHandle rt, int mipLevel, RenderTextureSubElement element)
Parameters
SetComputeTextureParam(ComputeShader, int, string, TextureHandle)
Declaration
void SetComputeTextureParam(ComputeShader computeShader, int kernelIndex, string name, TextureHandle rt)
Parameters
SetComputeTextureParam(ComputeShader, int, string, TextureHandle, int)
Declaration
void SetComputeTextureParam(ComputeShader computeShader, int kernelIndex, string name, TextureHandle rt, int mipLevel)
Parameters
SetComputeTextureParam(ComputeShader, int, string, TextureHandle, int, RenderTextureSubElement)
Declaration
void SetComputeTextureParam(ComputeShader computeShader, int kernelIndex, string name, TextureHandle rt, int mipLevel, RenderTextureSubElement element)
Parameters
SetComputeVectorArrayParam(ComputeShader, int, Vector4[])
Declaration
void SetComputeVectorArrayParam(ComputeShader computeShader, int nameID, Vector4[] values)
Parameters
SetComputeVectorArrayParam(ComputeShader, string, Vector4[])
Declaration
void SetComputeVectorArrayParam(ComputeShader computeShader, string name, Vector4[] values)
Parameters
SetComputeVectorParam(ComputeShader, int, Vector4)
Declaration
void SetComputeVectorParam(ComputeShader computeShader, int nameID, Vector4 val)
Parameters
SetComputeVectorParam(ComputeShader, string, Vector4)
Declaration
void SetComputeVectorParam(ComputeShader computeShader, string name, Vector4 val)
Parameters
SetRayTracingAccelerationStructure(ComputeShader, int, int, RayTracingAccelerationStructure)
Declaration
void SetRayTracingAccelerationStructure(ComputeShader computeShader, int kernelIndex, int nameID, RayTracingAccelerationStructure rayTracingAccelerationStructure)
Parameters
SetRayTracingAccelerationStructure(ComputeShader, int, string, RayTracingAccelerationStructure)
Declaration
void SetRayTracingAccelerationStructure(ComputeShader computeShader, int kernelIndex, string name, RayTracingAccelerationStructure rayTracingAccelerationStructure)
Parameters
SetRayTracingAccelerationStructure(RayTracingShader, int, RayTracingAccelerationStructure)
Declaration
void SetRayTracingAccelerationStructure(RayTracingShader rayTracingShader, int nameID, RayTracingAccelerationStructure rayTracingAccelerationStructure)
Parameters
SetRayTracingAccelerationStructure(RayTracingShader, string, RayTracingAccelerationStructure)
Declaration
void SetRayTracingAccelerationStructure(RayTracingShader rayTracingShader, string name, RayTracingAccelerationStructure rayTracingAccelerationStructure)
Parameters
SetRayTracingBufferParam(RayTracingShader, int, ComputeBuffer)
Declaration
void SetRayTracingBufferParam(RayTracingShader rayTracingShader, int nameID, ComputeBuffer buffer)
Parameters
SetRayTracingBufferParam(RayTracingShader, int, GraphicsBuffer)
Declaration
void SetRayTracingBufferParam(RayTracingShader rayTracingShader, int nameID, GraphicsBuffer buffer)
Parameters
SetRayTracingBufferParam(RayTracingShader, int, GraphicsBufferHandle)
Declaration
void SetRayTracingBufferParam(RayTracingShader rayTracingShader, int nameID, GraphicsBufferHandle bufferHandle)
Parameters
SetRayTracingBufferParam(RayTracingShader, string, ComputeBuffer)
Declaration
void SetRayTracingBufferParam(RayTracingShader rayTracingShader, string name, ComputeBuffer buffer)
Parameters
SetRayTracingBufferParam(RayTracingShader, string, GraphicsBuffer)
Declaration
void SetRayTracingBufferParam(RayTracingShader rayTracingShader, string name, GraphicsBuffer buffer)
Parameters
SetRayTracingBufferParam(RayTracingShader, string, GraphicsBufferHandle)
Declaration
void SetRayTracingBufferParam(RayTracingShader rayTracingShader, string name, GraphicsBufferHandle bufferHandle)
Parameters
SetRayTracingConstantBufferParam(RayTracingShader, int, ComputeBuffer, int, int)
Declaration
void SetRayTracingConstantBufferParam(RayTracingShader rayTracingShader, int nameID, ComputeBuffer buffer, int offset, int size)
Parameters
SetRayTracingConstantBufferParam(RayTracingShader, int, GraphicsBuffer, int, int)
Declaration
void SetRayTracingConstantBufferParam(RayTracingShader rayTracingShader, int nameID, GraphicsBuffer buffer, int offset, int size)
Parameters
SetRayTracingConstantBufferParam(RayTracingShader, string, ComputeBuffer, int, int)
Declaration
void SetRayTracingConstantBufferParam(RayTracingShader rayTracingShader, string name, ComputeBuffer buffer, int offset, int size)
Parameters
SetRayTracingConstantBufferParam(RayTracingShader, string, GraphicsBuffer, int, int)
Declaration
void SetRayTracingConstantBufferParam(RayTracingShader rayTracingShader, string name, GraphicsBuffer buffer, int offset, int size)
Parameters
SetRayTracingFloatParam(RayTracingShader, int, float)
Declaration
void SetRayTracingFloatParam(RayTracingShader rayTracingShader, int nameID, float val)
Parameters
SetRayTracingFloatParam(RayTracingShader, string, float)
Declaration
void SetRayTracingFloatParam(RayTracingShader rayTracingShader, string name, float val)
Parameters
SetRayTracingFloatParams(RayTracingShader, int, params float[])
Declaration
void SetRayTracingFloatParams(RayTracingShader rayTracingShader, int nameID, params float[] values)
Parameters
SetRayTracingFloatParams(RayTracingShader, string, params float[])
Declaration
void SetRayTracingFloatParams(RayTracingShader rayTracingShader, string name, params float[] values)
Parameters
SetRayTracingIntParam(RayTracingShader, int, int)
Declaration
void SetRayTracingIntParam(RayTracingShader rayTracingShader, int nameID, int val)
Parameters
SetRayTracingIntParam(RayTracingShader, string, int)
Declaration
void SetRayTracingIntParam(RayTracingShader rayTracingShader, string name, int val)
Parameters
SetRayTracingIntParams(RayTracingShader, int, params int[])
Declaration
void SetRayTracingIntParams(RayTracingShader rayTracingShader, int nameID, params int[] values)
Parameters
SetRayTracingIntParams(RayTracingShader, string, params int[])
Declaration
void SetRayTracingIntParams(RayTracingShader rayTracingShader, string name, params int[] values)
Parameters
SetRayTracingMatrixArrayParam(RayTracingShader, int, params Matrix4x4[])
Declaration
void SetRayTracingMatrixArrayParam(RayTracingShader rayTracingShader, int nameID, params Matrix4x4[] values)
Parameters
SetRayTracingMatrixArrayParam(RayTracingShader, string, params Matrix4x4[])
Declaration
void SetRayTracingMatrixArrayParam(RayTracingShader rayTracingShader, string name, params Matrix4x4[] values)
Parameters
SetRayTracingMatrixParam(RayTracingShader, int, Matrix4x4)
Declaration
void SetRayTracingMatrixParam(RayTracingShader rayTracingShader, int nameID, Matrix4x4 val)
Parameters
SetRayTracingMatrixParam(RayTracingShader, string, Matrix4x4)
Declaration
void SetRayTracingMatrixParam(RayTracingShader rayTracingShader, string name, Matrix4x4 val)
Parameters
SetRayTracingTextureParam(RayTracingShader, int, TextureHandle)
Declaration
void SetRayTracingTextureParam(RayTracingShader rayTracingShader, int nameID, TextureHandle rt)
Parameters
SetRayTracingTextureParam(RayTracingShader, string, TextureHandle)
Declaration
void SetRayTracingTextureParam(RayTracingShader rayTracingShader, string name, TextureHandle rt)
Parameters
SetRayTracingVectorArrayParam(RayTracingShader, int, params Vector4[])
Declaration
void SetRayTracingVectorArrayParam(RayTracingShader rayTracingShader, int nameID, params Vector4[] values)
Parameters
SetRayTracingVectorArrayParam(RayTracingShader, string, params Vector4[])
Declaration
void SetRayTracingVectorArrayParam(RayTracingShader rayTracingShader, string name, params Vector4[] values)
Parameters
SetRayTracingVectorParam(RayTracingShader, int, Vector4)
Declaration
void SetRayTracingVectorParam(RayTracingShader rayTracingShader, int nameID, Vector4 val)
Parameters
SetRayTracingVectorParam(RayTracingShader, string, Vector4)
Declaration
void SetRayTracingVectorParam(RayTracingShader rayTracingShader, string name, Vector4 val)
Parameters
Extension Methods