|
Cloo 0.9.1
|
Represents an OpenCL sub-buffer. More...
Public Member Functions | |
| ComputeSubBuffer (ComputeBuffer< T > buffer, ComputeMemoryFlags flags, long offset, long count) | |
| Creates a new ComputeSubBuffer{T} from a specified ComputeBuffer{T}. | |
Represents an OpenCL sub-buffer.
| T | The type of the elements of the ComputeSubBuffer{T}. T is restricted to value types and structs containing such types. |
A sub-buffer is created from a standard buffer and represents all or part of its data content.
Requires OpenCL 1.1.
| T | : | struct |
| Cloo.ComputeSubBuffer< T >.ComputeSubBuffer | ( | ComputeBuffer< T > | buffer, |
| ComputeMemoryFlags | flags, | ||
| long | offset, | ||
| long | count | ||
| ) |
Creates a new ComputeSubBuffer{T} from a specified ComputeBuffer{T}.
| buffer | The buffer to create the ComputeSubBuffer{T} from. |
| flags | A bit-field that is used to specify allocation and usage information about the ComputeBuffer{T}. |
| offset | The index of the element of buffer , where the ComputeSubBuffer{T} starts. |
| count | The number of elements of buffer to include in the ComputeSubBuffer{T}. |
1.7.4