Public Member Functions | |
TextureUnitState & | setIndex (const int index) |
int | getIndex () |
TextureUnitState & | setTextureUnit (const ProgramSampler &unit, GLTexture *texture, GLSampler *sampler) |
TextureUnitState & | reset () |
TextureUnitState & | setTexture (const ProgramSampler &unit, GLTexture *texture) |
TextureUnitState & | resetTexture () |
GLTexture * | getTexture () |
TextureUnitState & | setSampler (const ProgramSampler &unit, GLSampler *sampler) |
TextureUnitState & | resetSampler () |
GLSampler * | getSampler () |
Static Public Member Functions | |
static int | init () |
initilisation du suivi des etats des unites de textures. appel necessaire avant toute utilisation. |