mirror of
				https://github.com/OpenMW/openmw.git
				synced 2025-11-04 07:26:39 +00:00 
			
		
		
		
	
		
			
				
	
	
		
			31 lines
		
	
	
	
		
			680 B
		
	
	
	
		
			C++
		
	
	
	
	
	
			
		
		
	
	
			31 lines
		
	
	
	
		
			680 B
		
	
	
	
		
			C++
		
	
	
	
	
	
#ifndef SH_OGREGPUPROGRAM_H
 | 
						|
#define SH_OGREGPUPROGRAM_H
 | 
						|
 | 
						|
#include <string>
 | 
						|
 | 
						|
#include <OgreHighLevelGpuProgram.h>
 | 
						|
 | 
						|
#include "../../Main/Platform.hpp"
 | 
						|
 | 
						|
namespace sh
 | 
						|
{
 | 
						|
	class OgreGpuProgram : public GpuProgram
 | 
						|
	{
 | 
						|
	public:
 | 
						|
		OgreGpuProgram (
 | 
						|
			GpuProgramType type,
 | 
						|
			const std::string& compileArguments,
 | 
						|
			const std::string& name, const std::string& profile,
 | 
						|
			const std::string& source, const std::string& lang,
 | 
						|
			const std::string& resourceGroup);
 | 
						|
 | 
						|
		virtual bool getSupported();
 | 
						|
 | 
						|
		virtual void setAutoConstant (const std::string& name, const std::string& autoConstantName, const std::string& extraInfo = "");
 | 
						|
 | 
						|
	private:
 | 
						|
		Ogre::HighLevelGpuProgramPtr mProgram;
 | 
						|
	};
 | 
						|
}
 | 
						|
 | 
						|
#endif
 |