Struct GPUSort.RenderGraphResources
Utility for adapting to render graph usage.
Inherited Members
Namespace: UnityEngine.Rendering
Assembly: Unity.RenderPipelines.Core.Runtime.dll
Syntax
public struct GPUSort.RenderGraphResources
Fields
sortBufferKeys
Render Graph Buffer Handle to the sorted keys.
Declaration
public BufferHandle sortBufferKeys
Field Value
Type | Description |
---|---|
BufferHandle |
sortBufferValues
Render Graph Buffer Handle to the sorted values.
Declaration
public BufferHandle sortBufferValues
Field Value
Type | Description |
---|---|
BufferHandle |
Methods
Create(int, RenderGraph, RenderGraphBuilder)
Creates the render graph buffer resources from an input count.
Declaration
public static GPUSort.RenderGraphResources Create(int count, RenderGraph renderGraph, RenderGraphBuilder builder)
Parameters
Type | Name | Description |
---|---|---|
int | count | The number of (key, value) elements. |
RenderGraph | renderGraph | Render Graph |
RenderGraphBuilder | builder | Render Graph Builder |
Returns
Type | Description |
---|---|
GPUSort.RenderGraphResources | An initialized RenderGraphResources object containing the created sort buffers. |