2022-09-24 16:07:46 +05:00
|
|
|
|
|
|
|
#include "shader_program.hpp"
|
|
|
|
|
|
|
|
|
|
|
|
namespace hpr::gpu
|
|
|
|
{
|
|
|
|
|
|
|
|
ShaderProgram::ShaderProgram() :
|
|
|
|
Context {DeviceAPI::Unknown},
|
|
|
|
p_isLinked {false}
|
|
|
|
{}
|
|
|
|
|
|
|
|
ShaderProgram::ShaderProgram(DeviceAPI api) :
|
|
|
|
Context {api},
|
|
|
|
p_isLinked {false}
|
|
|
|
{}
|
|
|
|
|
2022-11-18 21:50:49 +05:00
|
|
|
ShaderProgram::~ShaderProgram() = default;
|
2022-09-24 16:07:46 +05:00
|
|
|
|
|
|
|
}
|