API Reference / @gtkx/gl / getSubroutineUniformLocation
Function: getSubroutineUniformLocation()
getSubroutineUniformLocation(
program,shadertype,name):number
Defined in: generated/commands.d.ts:2776
GLint glGetSubroutineUniformLocation(GLuint program, GLenum shadertype, const GLchar *name)
Provided by GL_VERSION_4_0.
Parameters
program
number
GLuint, object class program
shadertype
number
GLenum, group ShaderType
name
string
const GLchar *
Returns
number
GLint
See
https://registry.khronos.org/OpenGL-Refpages/gl4/html/glGetSubroutineUniformLocation.xhtml