[ < ] [ > ]   [ << ] [ Up ] [ >> ]         [Top] [Contents] [Index] [ ? ]

4.13.2 Mixmodes and Blending

The ‘mixmode’ controls how a source (usually a texture) is blended on top of the destination (usually a screen buffer). Typically mixmodes are set on mesh factories or objects to control transparency of some kind. There are various modes defined in ‘include/ivideo/graph3d.h’.

In the explanation below we use the following terms: SRC is the source of the blend operation (usually the texture or material). DST is the destination of the blend operation (usually the screen buffer or texture on which you are rendering). ‘srcAlpha’ is the alpha component of the source buffer. ‘dstAlpha’ is the alpha component of the destination buffer. The following mixmodes are supported:


[ < ] [ > ]   [ << ] [ Up ] [ >> ]         [Top] [Contents] [Index] [ ? ]

This document was generated using texi2html 1.76.