torque Torque Game Engine Documentation
TGE Version 1.5.2

Bitmap Modulation


Detailed Description

These functions control a modulation color that is used to modulate all drawn objects.


Functions

void dglSetBitmapModulation (const ColorF &in_rColor)
 Sets the current color to modulate objects with, similar to glColor3fv().
void dglGetBitmapModulation (ColorF *color)
 Gets the current color modulation in float format [0,1].
void dglGetBitmapModulation (ColorI *color)
 Gets the current color modulation in integer format [0,256).
void dglClearBitmapModulation ()
 Sets current color modulation to white, so no modulation takes place.


Function Documentation

void dglSetBitmapModulation ( const ColorF in_rColor  ) 

Sets the current color to modulate objects with, similar to glColor3fv().

See also:
dglGetBitmapModulation

dglClearBitmapModulation

void dglGetBitmapModulation ( ColorF color  ) 

Gets the current color modulation in float format [0,1].

See also:
dglSetBitmapModulation

dglClearBitmapModulation

void dglGetBitmapModulation ( ColorI color  ) 

Gets the current color modulation in integer format [0,256).

See also:
dglSetBitmapModulation

dglClearBitmapModulation

void dglClearBitmapModulation (  ) 

Sets current color modulation to white, so no modulation takes place.

See also:
dglSetBitmapModulation

dglGetBitmapModulation




All Rights Reserved GarageGames.com, Inc. 1999-2005
Auto-magically Generated with Doxygen