hyporo-cpp/source/hpr/gpu/opengl/shader_program.hpp

36 lines
374 B
C++
Raw Normal View History

2022-12-06 23:52:49 +05:00
#pragma once
#include "../shader_program.hpp"
namespace hpr::gpu::opengl
{
// Forward declarations
class Shader;
//
class ShaderProgram : public gpu::ShaderProgram
{
friend class Device;
protected:
unsigned int p_shaderProgramIndex;
public:
ShaderProgram();
~ShaderProgram();
protected:
Shader* shader(gpu::Shader::ShaderType type);
};
}