Operator explicit operator
explicit operator ComputeBuffer(StructuredBuffer<T>)
Gets the underlying compute buffer. Can be null if IsEmpty is true.
Declaration
public static explicit operator ComputeBuffer(StructuredBuffer<T> structuredBuffer)
Parameters
Type | Name | Description |
---|---|---|
StructuredBuffer<T> | structuredBuffer | The StructuredBuffer. |
Returns
Type | Description |
---|---|
ComputeBuffer | The underlying ComputeBuffer. |