OpenMW
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
Public Member Functions | Private Attributes | List of all members
Resource::SetFilterSettingsVisitor Class Reference

Set texture filtering settings on textures contained in StateSets. More...

Inheritance diagram for Resource::SetFilterSettingsVisitor:
Collaboration diagram for Resource::SetFilterSettingsVisitor:

Public Member Functions

 SetFilterSettingsVisitor (osg::Texture::FilterMode minFilter, osg::Texture::FilterMode magFilter, int maxAnisotropy)
 
virtual void apply (osg::Node &node)
 
void applyStateSet (osg::StateSet *stateset)
 
void applyStateAttribute (osg::StateAttribute *attr)
 

Private Attributes

osg::Texture::FilterMode mMinFilter
 
osg::Texture::FilterMode mMagFilter
 
int mMaxAnisotropy
 

Detailed Description

Set texture filtering settings on textures contained in StateSets.

Constructor & Destructor Documentation

Resource::SetFilterSettingsVisitor::SetFilterSettingsVisitor ( osg::Texture::FilterMode  minFilter,
osg::Texture::FilterMode  magFilter,
int  maxAnisotropy 
)
inline

Member Function Documentation

virtual void Resource::SetFilterSettingsVisitor::apply ( osg::Node &  node)
inlinevirtual

Here is the call graph for this function:

void Resource::SetFilterSettingsVisitor::applyStateAttribute ( osg::StateAttribute *  attr)
inline

Here is the caller graph for this function:

void Resource::SetFilterSettingsVisitor::applyStateSet ( osg::StateSet *  stateset)
inline

Here is the call graph for this function:

Here is the caller graph for this function:

Member Data Documentation

osg::Texture::FilterMode Resource::SetFilterSettingsVisitor::mMagFilter
private
int Resource::SetFilterSettingsVisitor::mMaxAnisotropy
private
osg::Texture::FilterMode Resource::SetFilterSettingsVisitor::mMinFilter
private

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