nngxMoveCommandbufferPointer Function

Syntax

NNGX_APICALL void NNGX_APIENTRY nngxMoveCommandbufferPointer(
     GLint offset
);

Arguments

Name Description
in offset The offset value (in bytes) for moving the pointer.

Return Values

None.

Description

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_DMPCommand list objects are not bound, or the address when moved by the amount of the offset is outside the range of the command buffer.

Revision History

2010/10/25
Initial version.

CONFIDENTIAL