Eulerian Smoke Simulation on the GPU
|
A class to hold a texture image unit's sampler index and a flag to indicate if its available or not. More...
#include <ImageUnitStack.h>
Public Member Functions | |
ImageUnit (int _samplerIndex, bool _isAvailable) | |
ctor | |
Public Attributes | |
int | m_samplerIndex |
the image unit's sampler index | |
bool | m_isAvailable |
a flag to indicate if the image unit is available |
A class to hold a texture image unit's sampler index and a flag to indicate if its available or not.
ImageUnit::ImageUnit | ( | int | _samplerIndex, |
bool | _isAvailable | ||
) | [inline] |
ctor
[in] | _samplerIndex | the unit's sampler index |
[in] | _isAvailable | the unit's availability flag |