Intialize shader with values.
If you have already successfully called glCreateShader, glShaderSource and glCompileShader then you can initialize like so:
auto shader = Shader("my_shader", shader_type, shader_id, all_ok: true);
To actually create a shader use Shader.create_shader
See Implementation
Intialize shader with values.
If you have already successfully called glCreateShader, glShaderSource and glCompileShader then you can initialize like so:
auto shader = Shader("my_shader", shader_type, shader_id, all_ok: true);To actually create a shader use Shader.create_shader