- get_info_log
GLResult!string get_info_log(const(T) self)
Call glGet{Program|Shader}InfoLog and return result as a string
- get_param
GLError get_param(const(Shader) self, GLParam param, int val)
Undocumented in source. Be warned that the author may not have intended to support it.
- get_param
GLError get_param(const(Program) self, GLParam param, int val)
Undocumented in source. Be warned that the author may not have intended to support it.
- gl_attach_shader
GLResult!void gl_attach_shader(uint program_id, uint shader_id)
Wrapper to glCreateShader
- gl_buffer_data
GLResult!void gl_buffer_data(GLenum target, GLsizeiptr size, const(void*) data, GLenum usage)
Undocumented in source. Be warned that the author may not have intended to support it.
- gl_buffer_sub_data
GLResult!void gl_buffer_sub_data(GLenum target, GLintptr offset, GLsizeiptr size, const(void*) data)
Undocumented in source. Be warned that the author may not have intended to support it.
- gl_clear
GLResult!void gl_clear(GLbitfield mask)
- gl_clear_color
void gl_clear_color(float r, float g, float b, float a)
- gl_compile_shader
GLResult!void gl_compile_shader(uint id)
Wrapper to glCreateShader
- gl_create_program
uint gl_create_program()
Wrapper to glCreateShader
- gl_create_shader
GLResult!uint gl_create_shader(Shader.Type type)
Wrapper to glCreateShader
- gl_draw_arrays_instanced
GLResult!void gl_draw_arrays_instanced(GLenum mode, int first, int count, int prim_count)
Wrapper to glDrawArraysInstanced
- gl_draw_elements_instanced
GLResult!void gl_draw_elements_instanced(GLenum mode, int count, GLType type, void* indicies_ptr, int prim_count)
Wrapper to glDrawElementsInstanced
- gl_draw_range_elements
GLResult!void gl_draw_range_elements(GLenum mode, uint start, uint end, int count, GLType type, size_t offset_)
Wrapper to glDrawRangeElements
- gl_enable_vertex_array_attributes
GLResult!void gl_enable_vertex_array_attributes(uint vao_id, uint[] locations)
Undocumented in source. Be warned that the author may not have intended to support it.
- gl_enable_vertex_attributes
GLResult!void gl_enable_vertex_attributes(uint[] locations)
Undocumented in source. Be warned that the author may not have intended to support it.
- gl_enable_vertex_attributes
GLResult!void gl_enable_vertex_attributes(VArrayObject vao, uint[] locations)
Undocumented in source. Be warned that the author may not have intended to support it.
- gl_link_program
GLResult!void gl_link_program(uint program_id)
Wrapper to glCreateShader
- gl_set_uniform
GLResult!void gl_set_uniform(int loc, int n, T[N] v)
Undocumented in source. Be warned that the author may not have intended to support it.
- gl_set_uniform
GLResult!void gl_set_uniform(int loc, int n, T[] v)
Undocumented in source. Be warned that the author may not have intended to support it.
- gl_set_uniform
GLResult!void gl_set_uniform(int loc, T[N][] v)
Undocumented in source. Be warned that the author may not have intended to support it.
- gl_shader_source
GLResult!void gl_shader_source(uint id, int count, const(char**) strings, const(int*) lengths)
Wrapper to glCreateShader
- gl_shader_source
GLResult!void gl_shader_source(uint id, const(char*) src_c_str, int length)
Wrapper to glCreateShader
- gl_shader_source
GLResult!void gl_shader_source(uint id, const(char[]) src)
Wrapper to glCreateShader
- gl_uniform_matrix4fv
GLResult!void gl_uniform_matrix4fv(int loc, int n, bool normlized, const(float*) mat_ptr)
Undocumented in source. Be warned that the author may not have intended to support it.
- gl_use_program
GLResult!void gl_use_program(uint program_id)
Wrapper to glCreateShader
- gl_vertex_attrib_divisor
GLResult!void gl_vertex_attrib_divisor(uint loc, uint divisor)
Undocumented in source. Be warned that the author may not have intended to support it.
- gl_vertex_attributeI_conf
GLResult!void gl_vertex_attributeI_conf(uint loc, int count, GLType type, long stride, size_t offset_)
Undocumented in source. Be warned that the author may not have intended to support it.
- gl_vertex_attribute_conf
GLResult!void gl_vertex_attribute_conf(uint loc, int count, GLType type, size_t stride, size_t offset_, bool normalized)
Undocumented in source. Be warned that the author may not have intended to support it.
- gl_with
void gl_with(T globject)
Not sure about this, may get removed later
- is_program_param
bool is_program_param(GLParam param)
Returns whether param is a parameter that can be passed to glGetProgramiv
- is_shader_param
bool is_shader_param(GLParam param)
Returns whether param is a parameter that can be passed to glGetShaderIv
- set_uniform_mat4
GLResult!void set_uniform_mat4(int loc, int n, const(float[]) mat, bool normalized)
Undocumented in source. Be warned that the author may not have intended to support it.
- set_uniform_mat4
GLResult!void set_uniform_mat4(int loc, const(float[]) mat, bool normalized)
Undocumented in source. Be warned that the author may not have intended to support it.
- to_gltype
GLType to_gltype(GLenum type)
Undocumented in source. Be warned that the author may not have intended to support it.