Struct GPUPrefixSum.RenderGraphResources
Utility for adapting to render graph usage.
Inherited Members
Namespace: UnityEngine.Rendering
Assembly: Unity.RenderPipelines.Core.Runtime.dll
Syntax
public struct GPUPrefixSum.RenderGraphResources
Properties
output
The prefix sum result.
Declaration
public BufferHandle output { get; }
Property Value
Type | Description |
---|---|
BufferHandle |
Methods
Create(int, RenderGraph, RenderGraphBuilder, bool)
Creates the render graph buffer resources from an input count.
Declaration
public static GPUPrefixSum.RenderGraphResources Create(int newMaxElementCount, RenderGraph renderGraph, RenderGraphBuilder builder, bool outputIsTemp = false)
Parameters
Type | Name | Description |
---|---|---|
int | newMaxElementCount | The maximum number of elements that the buffer will support. |
RenderGraph | renderGraph | Render Graph |
RenderGraphBuilder | builder | Render Graph Builder |
bool | outputIsTemp | Whether or not to allocate a transient resource. |
Returns
Type | Description |
---|---|
GPUPrefixSum.RenderGraphResources | The created Render Graph Resources. |