Eulerian Smoke Simulation on the GPU
ImageUnit Class Reference

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>

List of all members.

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

Detailed Description

A class to hold a texture image unit's sampler index and a flag to indicate if its available or not.

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

Constructor & Destructor Documentation

ImageUnit::ImageUnit ( int  _samplerIndex,
bool  _isAvailable 
) [inline]

ctor

Parameters:
[in]_samplerIndexthe unit's sampler index
[in]_isAvailablethe unit's availability flag

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