Torque2D Reference
 All Classes Namespaces Functions Variables Typedefs Enumerations Enumerator Friends Groups Pages
Functions

Functions

void dglSetBitmapModulation (const ColorF &in_rColor)
 
void dglGetBitmapModulation (ColorF *color)
 
void dglGetBitmapModulation (ColorI *color)
 
void dglClearBitmapModulation ()
 

Detailed Description

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

Function Documentation

void dglClearBitmapModulation ( )

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

See Also
dglSetBitmapModulation
dglGetBitmapModulation
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 dglSetBitmapModulation ( const ColorF in_rColor)

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

See Also
dglGetBitmapModulation
dglClearBitmapModulation