Eulerian Smoke Simulation on the GPU
|
A class for managing the available OpenGL texture image units in a rendering context. More...
#include <ImageUnitStack.h>
Public Member Functions | |
ImageUnitStack () | |
Constructor. | |
~ImageUnitStack () | |
Destructor. | |
int | getNextAvailableUnit () |
Returns the next available texture image unit. | |
void | freeUnit (int _unitIndex) |
Free a texture image unit. |
A class for managing the available OpenGL texture image units in a rendering context.
void ImageUnitStack::freeUnit | ( | int | _unitIndex | ) |
Free a texture image unit.
[in] | _unitIndex | the unit's index |