| GrayDBufGetActivePlane | Function (Macro)

gray.h

void *GrayDBufGetActivePlane (short plane);

Returns a pointer to a specific plane of the currently visible buffer.

GrayDBufGetActivePlane acts like GrayGetPlane for the currently visible buffer (it calls GrayDBufGetPlane with the index returned from GrayDBufGetActiveIdx). Drawing into this buffer has (almost) direct effect on the contents of the screen.

See also: GrayDBufGetHiddenPlane, GrayGetPlane, GrayDBufGetPlane, GrayDBufToggle