Torque2D Reference

- Main Page
- Related Pages
- Modules
- Namespaces
- Classes

Functions
Bitmap Modulation
Cross-Platform OpenGL Support

## 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