km-engine ~master (2022-05-09T12:27:43.0681511)
Dub
Repo
Shader.setUniform
engine
render
shader
Shader
Undocumented in source. Be warned that the author may not have intended to support it.
void
setUniform
(GLint uniform, bool value)
class
Shader
void
setUniform
(
GLint
uniform
,
bool
value
)
void
setUniform
(GLint uniform, int value)
void
setUniform
(GLint uniform, float value)
void
setUniform
(GLint uniform, vec2 value)
void
setUniform
(GLint uniform, vec3 value)
void
setUniform
(GLint uniform, vec4 value)
void
setUniform
(GLint uniform, mat4 value)
Meta
Source
See Implementation
engine
render
shader
Shader
constructors
this
destructors
~this
functions
getUniformLocation
setUniform
use