GLShader
The GLShader class extends the Shader class to specialize in managing shaders for OpenGL. It provides methods to attach the shader to a program, retrieve the shader type, and get the shader ID for integration with OpenGL.
#include <platform/TellusimShader.h>
Inheritance
- Inherits from Shader
Constructors
GLShader()
Methods
bool attachShader(uint32_t program_id)
uint32_t getShaderType() const
uint32_t getShaderID() const