Imported Upstream version 0.26.0

This commit is contained in:
Bret Curtis 2013-10-17 16:37:22 +02:00
commit 9a2b6c69b6
1398 changed files with 212217 additions and 0 deletions

View file

@ -0,0 +1,27 @@
#ifndef SH_MATERIALINSTANCETEXTUREUNIT_H
#define SH_MATERIALINSTANCETEXTUREUNIT_H
#include "PropertyBase.hpp"
namespace sh
{
/**
* @brief
* A single texture unit state that belongs to a \a MaterialInstancePass \n
* this is not the real "backend" \a TextureUnitState (provided by \a Platform),
* it is merely a placeholder for properties. \n
* @note The backend \a 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).
*/
class MaterialInstanceTextureUnit : public PropertySetGet
{
public:
MaterialInstanceTextureUnit (const std::string& name);
std::string getName() const;
void setName (const std::string& name) { mName = name; }
private:
std::string mName;
};
}
#endif