991b52b233
Builtin general structure created. Added a builtin::BasicScene class for quick general testing of the engine on different systems. The builtin::BasicScene class greatly reduces the amount of code needed to be handled by the developer by offering a pre-made way to handle it. It even includes pre-made shaders!
18 lines
366 B
C++
18 lines
366 B
C++
#pragma once
|
|
|
|
#include <string>
|
|
|
|
#include "ShaderProgram.h"
|
|
|
|
namespace charcoal
|
|
{
|
|
class VertexFragmentShaderProgram : public ShaderProgram
|
|
{
|
|
public:
|
|
VertexFragmentShaderProgram(const std::string& vertex_shader_path, const std::string& fragment_shader_path);
|
|
private:
|
|
// Needed for their destructors
|
|
Shader m_vertex_shader;
|
|
Shader m_fragment_shader;
|
|
};
|
|
} |