Visualization Library

A lightweight C++ OpenGL middleware for 2D/3D graphics
[Home] [Tutorials] [All Classes] [Grouped Classes]
Public Member Functions | Protected Attributes

vl::TextureState Class Reference

Base class for the OpenGL texture state wrapper classes. More...

#include <RenderState.hpp>

Inheritance diagram for vl::TextureState:
vl::RenderState vl::Object vl::TexEnv vl::TexGen vl::TextureMatrix vl::TextureUnit

List of all members.

Public Member Functions

virtual const char * className ()
 Returns the name of the class.
 TextureState ()
int textureUnit () const
void setUnitIndex (int unit_index)

Protected Attributes

int mTextureUnit

Detailed Description

Base class for the OpenGL texture state wrapper classes.

See also:
Shader, Effect, Actor, RenderState

Constructor & Destructor Documentation

vl::TextureState::TextureState (  ) [inline]

Member Function Documentation

virtual const char* vl::TextureState::className (  ) [inline, virtual]

Returns the name of the class.

Reimplemented from vl::RenderState.

Reimplemented in vl::TextureMatrix, vl::TexEnv, vl::TexGen, and vl::TextureUnit.

int vl::TextureState::textureUnit (  ) const [inline]
void vl::TextureState::setUnitIndex ( int  unit_index ) [inline]

Member Data Documentation


The documentation for this class was generated from the following file:

Visualization Library v2010.11.1125 Reference Documentation
Copyright 2005-2009 Michele Bosi. All rights reserved.
Updated on Fri Nov 26 2010 10:33:52.
Permission is granted to use this page to write and publish articles regarding Visualization Library.