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, IBaseRenderGraphBuilder, bool)
Creates the render graph buffer resources from an input count.
Declaration
public static GPUPrefixSum.RenderGraphResources Create(int newMaxElementCount, RenderGraph renderGraph, IBaseRenderGraphBuilder builder, bool outputIsTemp = false)
Parameters
Type | Name | Description |
---|---|---|
int | newMaxElementCount | The maximum number of elements that the buffer will support. |
RenderGraph | renderGraph | Render Graph |
IBaseRenderGraphBuilder | builder | Render Graph Builder |
bool | outputIsTemp | Whether or not to allocate a transient resource. |
Returns
Type | Description |
---|---|
GPUPrefixSum.RenderGraphResources | The created Render Graph Resources. |
Create(int, RenderGraph, RenderGraphBuilder, bool)
Creates the render graph buffer resources from an input count.
Declaration
[Obsolete("This Create signature is deprecated and will be removed in the future. Please use Create(IBaseRenderGraphBuilder) instead. #from(6000.3)")]
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. |