Метод | Описание | |
---|---|---|
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.
|
Метод | Описание | |
---|---|---|
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. |
Результат | 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. |
Результат | System |