mirror of
https://github.com/AxioDL/PrimeWorldEditor.git
synced 2025-12-21 02:39:17 +00:00
Initial commit of current work on Prime World Editor
This commit is contained in:
22
OpenGL/CShaderGenerator.h
Normal file
22
OpenGL/CShaderGenerator.h
Normal 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
|
||||
Reference in New Issue
Block a user