Méthode | Description | |
---|---|---|
ComputeBuffer ( int count, int stride ) : System |
Create a Compute Buffer.
|
|
ComputeBuffer ( int count, int stride, ComputeBufferType type ) : System |
Create a Compute Buffer.
|
|
Dispose ( ) : void | ||
GetNativeBufferPtr ( ) : IntPtr |
Retrieve a native (underlying graphics API) pointer to the buffer.
|
|
Release ( ) : void |
Release a Compute Buffer.
|
Méthode | Description | |
---|---|---|
CopyCount ( |
||
DestroyBuffer ( |
||
Dispose ( bool disposing ) : void | ||
GetData ( Array data ) : void | ||
INTERNAL_CALL_GetNativeBufferPtr ( |
||
InitBuffer ( |
||
InternalGetData ( Array data, int elemSize ) : void | ||
InternalSetData ( Array data, int elemSize ) : void | ||
SetCounterValue ( uint counterValue ) : void | ||
SetData ( Array data ) : void |
public ComputeBuffer ( int count, int stride ) : System | ||
count | int | Number of elements in the buffer. |
stride | int | Size of one element in the buffer. Has to match size of buffer type in the shader. See for cross-platform compatibility information. |
Résultat | System |
public ComputeBuffer ( int count, int stride, ComputeBufferType type ) : System | ||
count | int | Number of elements in the buffer. |
stride | int | Size of one element in the buffer. Has to match size of buffer type in the shader. See for cross-platform compatibility information. |
type | ComputeBufferType | Type of the buffer, default is ComputeBufferType.Default. |
Résultat | System |