| GrayGetPlane | Function (Macro)

gray.h

void *GrayGetPlane (short plane);

Gets the address of a grayscale plane.

GrayGetPlane returns a pointer to the grayscale plane plane. Valid values for plane are LIGHT_PLANE and DARK_PLANE. To draw in black, draw in both planes.
Note: Do not assume that any plane is on 0x4C00 when in grayscale mode, due to hardware version 2 support. Also do not assume that the 2 grayscale planes are consecutive, this is not the case on hardware version 1.

Deprecated alias: GetPlane