Supported Browsers Home   
MGL_setPenStyle Previous   
MGL_setPolygonType Next   
External Functions Up   

MGL_setPlaneMask

Sets the current plane mask for all rendering operations.

Declaration

void MGLAPI MGL_setPlaneMask(
    ulong mask)

Prototype In

mgraph.h

Parameters

mask

New plane mask to make active

 

Description

This function sets the current plane mask for all rendering operations, which is used to mask out specific bits from being affected during writes to the framebuffer. The mask passed in should be a packed color value for the currently active display mode.

Note:    A plane mask of 0xFFFFFFFF will disable plane masking operation, and this is the default plane mask enabled by the MGL when it starts up.

Note:    Not all hardware supports plane masking in hardware, and if hardware plane masking is not available, enabling this will cause the rendering to be done entirely in software.

See Also

MGL_getPlaneMask

Copyright © 2002 SciTech Software, Inc. Visit our web site at http://www.scitechsoft.com