Struct BufferDesc
Descriptor used to create graphics buffer resources
Inherited Members
Namespace: UnityEngine.Experimental.Rendering.RenderGraphModule
Assembly: Unity.RenderPipelines.Core.Runtime.dll
Syntax
public struct BufferDesc
Constructors
Name | Description |
---|---|
BufferDesc(int, int) | BufferDesc constructor. |
BufferDesc(int, int, Target) | BufferDesc constructor. |
Fields
Name | Description |
---|---|
count | Number of elements in the buffer.. |
name | Graphics Buffer name. |
stride | Size of one element in the buffer. Has to match size of buffer type in the shader. |
target | The intended usage of a GraphicsBuffer. |
usageFlags | The intended update mode of a GraphicsBuffer. |
Methods
Name | Description |
---|---|
GetHashCode() | Hash function |