Struct GPUPrefixSum.SupportResources
Data structure containing the runtime resources that are bound by the command buffer.
Inherited Members
Namespace: UnityEngine.Rendering
Syntax
public struct SupportResources
Properties
output
The prefix sum result.
Declaration
public readonly GraphicsBuffer output { get; }
Property Value
| Type | Description |
|---|---|
| GraphicsBuffer |
Methods
Create(Int32)
Allocate support resources to accomodate a max count.
Declaration
public static GPUPrefixSum.SupportResources Create(int maxElementCount)
Parameters
| Type | Name | Description |
|---|---|---|
| Int32 | maxElementCount | The max element count. |
Returns
| Type | Description |
|---|---|
| GPUPrefixSum.SupportResources | The created support resources. |
Dispose()
Dispose the supporting resources.
Declaration
public void Dispose()
Load(GPUPrefixSum.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. |