Struct GPUPrefixSum
Utility class for computing inclusive or exclusive prefix sums, directly or indirectly dispatched on the GPU.
Inherited Members
Namespace: UnityEngine.Rendering
Assembly: Unity.RenderPipelines.Core.Runtime.dll
Syntax
public struct GPUPrefixSum
Constructors
Name | Description |
---|---|
GPUPrefixSum(SystemResources) | Initializes a re-usable GPU prefix sum instance. |
Methods
Name | Description |
---|---|
DispatchDirect(CommandBuffer, in DirectArgs) | Prefix sum a list of data from a CPU-defined count. |
DispatchIndirect(CommandBuffer, in IndirectDirectArgs) | Prefix sum a list of data from a GPU-defined count. |