MGL_getPaletteSnowLevel

Returns the current palette snow level.

Declaration

int MGLAPI MGL_getPaletteSnowLevel(
    MGLDC *dc)

Prototype In

mgraph.h

Parameters

dc

Device context of interest

 

Return Value

Current palette snow level.

Description

This function returns the number of palette entries that can be programmed during a single vertical retrace before the onset of snow. By default MGL programs use all 256 entries per retrace, but you may need to slow this down on systems with slower hardware that causes snow during multiple palette realization commands.

See Also

MGL_setPaletteSnowLevel

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