Torque2D Reference
|
Functions | |
void | dglSetBitmapModulation (const ColorF &in_rColor) |
void | dglGetBitmapModulation (ColorF *color) |
void | dglGetBitmapModulation (ColorI *color) |
void | dglClearBitmapModulation () |
These functions control a modulation color that is used to modulate all drawn objects
void dglClearBitmapModulation | ( | ) |
Sets current color modulation to white, so no modulation takes place
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 dglSetBitmapModulation | ( | const ColorF & | in_rColor | ) |
Sets the current color to modulate objects with, similar to glColor3fv()