PrimeWorldEditor/OpenGL/CShaderGenerator.h

23 lines
408 B
C
Raw Normal View History

#ifndef SHADERGEN_H
#define SHADERGEN_H
#include <gl/glew.h>
#include "CShader.h"
#include <Resource/CMaterial.h>
class CShaderGenerator
{
CShader *mShader;
CShaderGenerator();
~CShaderGenerator();
bool CreateVertexShader(const CMaterial& Mat);
bool CreatePixelShader(const CMaterial& Mat);
public:
static CShader* GenerateShader(const CMaterial& Mat);
};
#endif // SHADERGEN_H