nngxCmdlistStorage Function

Syntax

NNGX_APICALL void NNGX_APIENTRY nngxCmdlistStorage(
     GLsizei bufsize,
     GLsizei requestcount
);

Arguments

Name Description
in bufsize Size of the 3D command buffer in bytes
in requestcount Number of command requests

Return Values

No values are returned.

Description

Allocates data regions for the current command list.

A region is allocated for a 3D command buffer with the number of bytes specified by bufsize. A region is allocated for the number of command requests specified by requestcount. Each data region accumulates commands.

This function generates the following errors.

GL_ERROR_8006_DMPFailed to allocate a data region for the command buffer or command request.
GL_ERROR_8007_DMPThis function was called on a running command list.
GL_ERROR_8008_DMPThe bufsize or requestcount argument was set to a negative value.

Revision History

2010/03/12
Added extended error code(s).
2010/01/07
Initial version.

CONFIDENTIAL