osg::TexEnvFilter Class Reference

Inheritance diagram for osg::TexEnvFilter:

osg::StateAttribute osg::Object osg::Referenced List of all members.

Public Member Functions

 TexEnvFilter (float lodBias=0.0f)
 TexEnvFilter (const TexEnvFilter &texenv, const CopyOp &copyop=CopyOp::SHALLOW_COPY)
 META_StateAttribute (osg, TexEnvFilter, TEXENVFILTER)
virtual bool isTextureAttribute () const
virtual int compare (const StateAttribute &sa) const
void setLodBias (float lodBias)
float getLodBias () const
virtual void apply (State &state) const

Protected Member Functions

virtual ~TexEnvFilter ()

Protected Attributes

float _lodBias

Detailed Description

TexEnvFilter - encapsulates the OpenGL glTexEnv (GL_TEXTURE_FILTER_CONTROL) state.


Constructor & Destructor Documentation

osg::TexEnvFilter::TexEnvFilter ( float  lodBias = 0.0f  ) 

osg::TexEnvFilter::TexEnvFilter ( const TexEnvFilter texenv,
const CopyOp copyop = CopyOp::SHALLOW_COPY 
) [inline]

Copy constructor using CopyOp to manage deep vs shallow copy.

virtual osg::TexEnvFilter::~TexEnvFilter (  )  [protected, virtual]


Member Function Documentation

virtual void osg::TexEnvFilter::apply ( State state  )  const [virtual]

apply the OpenGL state attributes. The global state for the current OpenGL context is passed in to allow the StateAttribute to obtain details on the the current context and state.

Implements osg::StateAttribute.

virtual int osg::TexEnvFilter::compare ( const StateAttribute sa  )  const [inline, virtual]

return -1 if *this < *rhs, 0 if *this==*rhs, 1 if *this>*rhs.

Implements osg::StateAttribute.

float osg::TexEnvFilter::getLodBias (  )  const [inline]

virtual bool osg::TexEnvFilter::isTextureAttribute (  )  const [inline, virtual]

Return true if StateAttribute is a type which controls texturing and needs to be issued w.r.t to specific texture unit.

Reimplemented from osg::StateAttribute.

osg::TexEnvFilter::META_StateAttribute ( osg  ,
TexEnvFilter  ,
TEXENVFILTER   
)

void osg::TexEnvFilter::setLodBias ( float  lodBias  )  [inline]


Member Data Documentation

float osg::TexEnvFilter::_lodBias [protected]


The documentation for this class was generated from the following file:
Generated on Sun Oct 1 13:17:08 2006 for openscenegraph by  doxygen 1.4.7