shiny  0.4
a shader and material management library for OGRE
All Classes Namespaces Files Functions Variables Typedefs Enumerations Friends Modules Pages
Public Member Functions | List of all members
sh::MaterialInstanceTextureUnit Class Reference

A single texture unit state that belongs to a MaterialInstancePass
this is not the real "backend" TextureUnitState (provided by Platform), it is merely a placeholder for properties.
. More...

#include <MaterialInstanceTextureUnit.hpp>

+ Inheritance diagram for sh::MaterialInstanceTextureUnit:

Public Member Functions

 MaterialInstanceTextureUnit (const std::string &name)
 
std::string getName () const
 
void setName (const std::string &name)
 
- Public Member Functions inherited from sh::PropertySetGet
 PropertySetGet (PropertySetGet *parent)
 
void save (std::ofstream &stream, const std::string &indentation)
 
void copyAll (PropertySet *target, PropertySetGet *context, bool copyParent=true)
 call setProperty for each property/value pair stored in this
 
void copyAll (PropertySetGet *target, PropertySetGet *context, bool copyParent=true)
 call setProperty for each property/value pair stored in this
 
void setParent (PropertySetGet *parent)
 
PropertySetGetgetParent ()
 
void setContext (PropertySetGet *context)
 
PropertySetGetgetContext ()
 
virtual void setProperty (const std::string &name, PropertyValuePtr value)
 
PropertyValuePtr & getProperty (const std::string &name)
 
void deleteProperty (const std::string &name)
 
const PropertyMaplistProperties ()
 
bool hasProperty (const std::string &name) const
 

Additional Inherited Members

- Protected Attributes inherited from sh::PropertySetGet
PropertySetGetmParent
 
PropertySetGetmContext
 used to retrieve linked property values
 

Detailed Description

A single texture unit state that belongs to a MaterialInstancePass
this is not the real "backend" TextureUnitState (provided by Platform), it is merely a placeholder for properties.
.

Note
The backend TextureUnitState will only be created if this texture unit is actually used (i.e. referenced in the shader, or marked with property create_in_ffp = true).

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