mirror of
https://github.com/TES3MP/openmw-tes3mp.git
synced 2025-01-16 09:19:58 +00:00
29 lines
507 B
C++
29 lines
507 B
C++
#ifndef GAME_SHADERHELPER_H
|
|
#define GAME_SHADERHELPER_H
|
|
|
|
#include <string>
|
|
|
|
namespace MWRender
|
|
{
|
|
class RenderingManager;
|
|
|
|
///
|
|
/// \brief manages the main shader
|
|
///
|
|
class ShaderHelper
|
|
{
|
|
public:
|
|
ShaderHelper(RenderingManager* rend);
|
|
|
|
void applyShaders();
|
|
///< apply new settings
|
|
|
|
private:
|
|
RenderingManager* mRendering;
|
|
|
|
void createShader(const bool mrt, const bool shadows, const bool split, const std::string& name);
|
|
};
|
|
|
|
}
|
|
|
|
#endif
|