MGL_setAlphaValue

Sets the current constant alpha value for blending functions.

Declaration

void MGLAPI MGL_setAlphaValue(
    uchar alpha)

Prototype In

mgraph.h

Parameters

alpha

New constant alpha value for blending function, between 0 and 255

 

Description

This function sets the current constant alpha value used for pixel blending functions in the MGL. The constant alpha value is only used if one of the source or destination blending functions is set to include constant alpha. The constant alpha value should be in the range of 0 through 255.

See Also

MGL_setSrcBlendFunc, MGL_setDstBlendFunc, MGL_getAlphaValue

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