1
function values = glGetActiveSubroutineUniformiv( program, shadertype, index, pname )
3
% glGetActiveSubroutineUniformiv Interface to OpenGL function glGetActiveSubroutineUniformiv
5
% usage: values = glGetActiveSubroutineUniformiv( program, shadertype, index, pname )
7
% C function: void glGetActiveSubroutineUniformiv(GLuint program, GLenum shadertype, GLuint index, GLenum pname, GLint* values)
9
% 30-Aug-2012 -- created (generated automatically from header files)
17
error('invalid number of arguments');
20
% GL.COMPATIBLE_SUBROUTINES has a variable number of return indices, which
21
% we need to query to prealloc properly:
22
if pname == GL.COMPATIBLE_SUBROUTINES
23
values = int32(zeros(1, glGetActiveSubroutineUniformiv( program, shadertype, index, GL.NUM_COMPATIBLE_SUBROUTINES)));
28
moglcore( 'glGetActiveSubroutineUniformiv', program, shadertype, index, pname, values );