1
0
Fork 1
mirror of https://github.com/TES3MP/openmw-tes3mp.git synced 2025-01-15 20:49:56 +00:00
openmw-tes3mp/extern/shiny/Platforms/Ogre/OgreTextureUnitState.hpp

27 lines
567 B
C++

#ifndef SH_OGRETEXTUREUNITSTATE_H
#define SH_OGRETEXTUREUNITSTATE_H
#include <OgreTextureUnitState.h>
#include "../../Main/Platform.hpp"
namespace sh
{
class OgrePass;
class OgreTextureUnitState : public TextureUnitState
{
public:
OgreTextureUnitState (OgrePass* parent, const std::string& name);
virtual void setTextureName (const std::string& textureName);
private:
Ogre::TextureUnitState* mTextureUnitState;
protected:
virtual bool setPropertyOverride (const std::string &name, PropertyValuePtr& value, PropertySetGet* context);
};
}
#endif