Struct ComputeBufferHandle
Compute Buffer resource handle.
Inherited Members
Namespace: UnityEngine .Experimental.Rendering.RenderGraphModule
Assembly: Unity.RenderPipelines.Core.Runtime.dll
Syntax
public struct ComputeBufferHandle
Properties
nullHandle
Returns a null compute buffer handle
Declaration
public static ComputeBufferHandle nullHandle { get; }
Property Value
Type | Description |
---|---|
Compute |
A null compute 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 ComputeBuffer(ComputeBufferHandle)
Cast to ComputeBuffer
Declaration
public static implicit operator ComputeBuffer(ComputeBufferHandle buffer)
Parameters
Type | Name | Description |
---|---|---|
Compute |
buffer | Input ComputeBufferHandle |
Returns
Type | Description |
---|---|
Compute |
Resource as a Compute Buffer. |