Eulerian Smoke Simulation on the GPU
ImageUnitStack Class Reference

A class for managing the available OpenGL texture image units in a rendering context. More...

#include <ImageUnitStack.h>

List of all members.

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.

Detailed Description

A class for managing the available OpenGL texture image units in a rendering context.

Author:
Nikolaos Verigakis
Version:
1.0
Date:
14/07/11 Revision History : Initial Version 14/07/11

Member Function Documentation

void ImageUnitStack::freeUnit ( int  _unitIndex)

Free a texture image unit.

Parameters:
[in]_unitIndexthe unit's index

The documentation for this class was generated from the following files:
 All Classes Files Functions Variables