SoGLBufferObjectBufferObjectTargets Enumeration |
This enum declares the possible targets of the buffer.
Namespace: OIV.Inventor.Devices
Member name | Value | Description | |
---|---|---|---|
PIXEL_PACK_BUFFER | 0 | The buffer is used as a pixel pack buffer, it can be used as texture. For instance as a Texture Buffer Object (TBO). | |
PIXEL_UNPACK_BUFFER | 1 | The buffer is used as a pixel unpack buffer, it can be used for readback operation. For instance as a Pixel Buffer Object (PBO). | |
ARRAY_BUFFER | 2 | The buffer is used as an array buffer, it can be used for vertices, normals, colors. For instance as a Vertex Buffer Object (VBO). Tis is the default value. | |
ELEMENT_ARRAY_BUFFER | 3 | The buffer is used as a pixel pack buffer, it is used to specify the indices for indexed geometries. For instance a Vertex Buffer Object (VBO). | |
SHADER_STORAGE_BUFFER | 4 | The buffer is used as a shader storage buffer, it can be used to perform random access reads, writes and atomic memory operations from a shader. |