| GrayDBufGetHiddenIdx | Function (Macro)

gray.h

short GrayDBufGetHiddenIdx (void);

Returns the index of the currently invisible double buffer.

GrayDBufGetHiddenIdx returns the index of the visible double buffer. This index will be either 0 or 1, and can be passed to GrayDBufSetActiveIdx or GrayDBufGetPlane. Usually, you do not need to call this function directly.

See also: GrayDBufGetActiveIdx, GrayDBufSetActiveIdx, GrayDBufGetHiddenPlane, GrayDBufSetHiddenAMSPlane