SetAlphaValue

Set the constant alpha value for blending operations.

Declaration

void NAPI GA_2DStateFuncs::SetAlphaValue(
N_uint8 alpha)

Prototype In

snap/graphics.h

Parameters

alpha | New constant alpha value to make active

Description

This function sets the constant alpha value for subsequent drawing operations. The constant alpha value is used when either the source or destination blending functions include constant alpha, otherwise this value is ignored.

Note: Not all hardware supports this function, and if the hardware does not support it this function will be NULL.

See Also

SetBlendFunc

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