mirror of
				https://github.com/OpenMW/openmw.git
				synced 2025-11-04 04:56:39 +00:00 
			
		
		
		
	
		
			
				
	
	
		
			27 lines
		
	
	
	
		
			542 B
		
	
	
	
		
			C++
		
	
	
	
	
	
			
		
		
	
	
			27 lines
		
	
	
	
		
			542 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);
 | 
						|
 | 
						|
		virtual void setTextureName (const std::string& textureName);
 | 
						|
 | 
						|
	private:
 | 
						|
		Ogre::TextureUnitState* mTextureUnitState;
 | 
						|
 | 
						|
	protected:
 | 
						|
		virtual bool setPropertyOverride (const std::string &name, PropertyValuePtr& value, PropertySetGet* context);
 | 
						|
	};
 | 
						|
}
 | 
						|
 | 
						|
#endif
 |