| Home
| Previous
| Next
| Up

MGL_getBlendFunc

Returns the current source and destination pixel blending functions.

Declaration

void MGLAPI MGL_getBlendFunc(
int *srcBlendFunc,
int *dstBlendFunc)

Prototype In

mgraph.h

Parameters

srcBlendFunc | Place to store source blending function
dstBlendFunc | Place to store destination blending function

Description

This function returns the current source and destination pixel blending functions used for pixel blending in the MGL. By default pixel blending is disabled, and the blending function is set to MGL_BLEND_NONE. For a more detailed description of the blending functions, see the documentation for the MGL_blendFuncType enumeration.

See Also

MGL_setBlendFunc, MGL_setAlphaValue

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