2#ifdef StevEngine_RENDERER_GL
24 friend class ShaderProgram;
32 Shader(
const char* source, ShaderType
shaderType,
bool useDefaultDefinitions =
true);
Compiled and linked shader program.
Definition ShaderProgram.hpp:22
const ShaderType shaderType
Type of this shader.
Definition Shader.hpp:35
uint32_t GetLocation() const
Get OpenGL shader ID.
Definition Shader.hpp:41
Shader(const char *source, ShaderType shaderType, bool useDefaultDefinitions=true)
Create new shader.
Definition Shader.cpp:45
Core rendering system.
Definition Object.cpp:19