Initial commit of current work on Prime World Editor

This commit is contained in:
parax0
2015-07-26 17:39:49 -04:00
commit 66e8c2ebcb
305 changed files with 33469 additions and 0 deletions

22
OpenGL/CShaderGenerator.h Normal file
View File

@@ -0,0 +1,22 @@
#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