GDGetCurrOffset

C Specification

#include <revolution/gd.h>
u32 GDGetCurrOffset();

Arguments

None.

Return Values

The offset from the start of the buffer of the current location pointer for the current GDLObj structure.

Description

This function returns the offset from the start of the buffer of the current location pointer for the current display list object. The actual display list data is or will be stored in the memory buffer, and the current location pointer indicates where future GD commands will be written to in the buffer.

This function is similar to the GDGetGDLObjOffset function. This function is different because it is used for the current GDLObj and not the specified GDLObj.

See Also

GDGetGDLObjOffset
GDGetCurrPointer

Revision History

03/01/2006 Initial version.