1
0
Fork 1
mirror of https://github.com/TES3MP/openmw-tes3mp.git synced 2025-01-15 22:49:55 +00:00
openmw-tes3mp/extern/shiny/Platforms/Ogre/OgreGpuProgram.hpp
2012-11-06 19:09:44 +01:00

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