Struct BufferHandle
Graphics Buffer resource handle.
Inherited Members
Namespace: UnityEngine.Experimental.Rendering.RenderGraphModule
Assembly: Unity.RenderPipelines.Core.Runtime.dll
Syntax
public struct BufferHandle
Properties
nullHandle
Returns a null graphics buffer handle
Declaration
public static BufferHandle nullHandle { get; }
Property Value
Type | Description |
---|---|
BufferHandle | A null graphics buffer handle. |
Methods
IsValid()
Return true if the handle is valid.
Declaration
public bool IsValid()
Returns
Type | Description |
---|---|
bool | True if the handle is valid. |
Operators
implicit operator GraphicsBuffer(BufferHandle)
Cast to GraphicsBuffer
Declaration
public static implicit operator GraphicsBuffer(BufferHandle buffer)
Parameters
Type | Name | Description |
---|---|---|
BufferHandle | buffer | Input BufferHandle |
Returns
Type | Description |
---|---|
GraphicsBuffer | Resource as a Graphics Buffer. |