nngxMoveCommandbufferPointer Function
NNGX_APICALL void NNGX_APIENTRY nngxMoveCommandbufferPointer(
GLint offset
);
| Name | Description | |
|---|---|---|
| in | offset | The offset value (in bytes) for moving the pointer. |
Moves the current output-destination pointer of the 3D command buffer.
The current pointer in the 3D command buffer managed by the graphics processor is advanced by the number of bytes specified by the offset. This function is used when commands are directly written to the 3D command buffer by the application.
Note: Carelessly moving the command buffer pointer may corrupt the contents of the command buffer or cause the hardware to hang. Be sure you understand the structure and content of the command buffer before moving the pointer.
The following errors occur with this function.
| GL_ERROR_8061_DMP | Command list objects are not bound, or the address when moved by the amount of the offset is outside the range of the command buffer. |
|---|
CONFIDENTIAL