vadgl ~master (2026-08-09T23:38:48.9439982)
Dub
Repo
gl_get_uniform_location
vadgl
gl3
Wrapper to
glGetUniformLocation
This function calls
toStringz
which mayh allocate. Use the
const(char*)
overload of this function to avoid allocations
GLResult
!
int
gl_get_uniform_location
(uint program_id, const(char*) name)
GLResult
!
int
gl_get_uniform_location
(uint program_id, string name)
nothrow static
GLResult
!int
gl_get_uniform_location
(
uint
program_id
,
string
name
)
Meta
Source
See Implementation
vadgl
gl3
functions
get_info_log
get_param
gl_attach_shader
gl_buffer_data
gl_buffer_sub_data
gl_clear
gl_clear_color
gl_compile_shader
gl_create_program
gl_create_shader
gl_draw_arrays_instanced
gl_draw_elements_instanced
gl_draw_range_elements
gl_enable_vertex_array_attributes
gl_enable_vertex_attributes
gl_link_program
gl_set_uniform
gl_shader_source
gl_uniform_matrix4fv
gl_use_program
gl_vertex_attrib_divisor
gl_vertex_attributeI_conf
gl_vertex_attribute_conf
gl_with
is_program_param
is_shader_param
set_uniform_mat4
to_gltype
manifest constants
MAX_GL_VARIABLE_NAME
static functions
gl_draw_arrays
gl_draw_elements
gl_get_attribute_location
gl_get_uniform_location
structs
GLAttributeInfo
GLUniform
Program
Shader
VArrayObject
VBufferObject
templates
gl_call
gl_wrap
glattribute
variables
checkGLCalls
Wrapper to glGetUniformLocation