Shader.this

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

struct Shader
@safe @nogc nothrow
this
(
string name
,,
uint id
,
bool created = false
,
bool source_set = false
,
bool compiled = false
,
bool all_ok = false
)

Meta