Struct GPUPrefixSum.SupportResources
Data structure containing the runtime resources that are bound by the command buffer.
Inherited Members
Namespace: UnityEngine.Rendering
Assembly: Unity.RenderPipelines.Core.Runtime.dll
Syntax
public struct GPUPrefixSum.SupportResources
Properties
output
The prefix sum result.
Declaration
public GraphicsBuffer output { get; }
Property Value
Type | Description |
---|---|
GraphicsBuffer |
Methods
Create(int)
Allocate support resources to accomodate a max count.
Declaration
public static GPUPrefixSum.SupportResources Create(int maxElementCount)
Parameters
Type | Name | Description |
---|---|---|
int | maxElementCount | The max element count. |
Returns
Type | Description |
---|---|
GPUPrefixSum.SupportResources | The created support resources. |
Dispose()
Dispose the supporting resources.
Declaration
public void Dispose()
Load(RenderGraphResources)
Load supporting resources from Render Graph Resources.
Declaration
public static GPUPrefixSum.SupportResources Load(GPUPrefixSum.RenderGraphResources shaderGraphResources)
Parameters
Type | Name | Description |
---|---|---|
GPUPrefixSum.RenderGraphResources | shaderGraphResources | Render Graph Resources |
Returns
Type | Description |
---|---|
GPUPrefixSum.SupportResources | The created support resources. |