NNS_G3dGeSetBuffer

Syntax

#include <nnsys/g3d/gecom.h>
void
NNS_G3dGeSetBuffer(
    NNSG3dGeBuffer* p
);

Arguments

p The pointer to the command buffer.

Return Values

None.

Description

If the the geometry command buffer is not configured, this function configures the buffer indicated by p to be the geometry command buffer. If the geometry command buffer is already configured, this function does nothing. When a geometry command send request is received while geometry commands are being DMA transferred via the NNS_G3dGeSendDL command, the geometry command buffer is used to allow processing to proceed without stopping the CPU. It does this by buffering the geometry commands . This method tends to be effective when rendering non-simple models with large display lists. Generally, the buffer itself is allocated by the user in the DTCM (stack) area.

See Also

NNS_G3dGeIsBufferExist, NNS_G3dGeReleaseBuffer

Revision History

2004/10/15 Added description.
2004/09/16 Added description regarding the buffer.
2004/08/02 Initial version.


CONFIDENTIAL