glGetProgramiv

glGetProgram: man4/glGetProgram.xml

glGetProgram returns in params the value of a parameter for a specific program object. The following parameters are defined:

GL_ACTIVE_UNIFORM_BLOCKS and GL_ACTIVE_UNIFORM_BLOCK_MAX_NAME_LENGTH are available only if the GL version 3.1 or greater. GL_GEOMETRY_VERTICES_OUT, GL_GEOMETRY_INPUT_TYPE and GL_GEOMETRY_OUTPUT_TYPE are accepted only if the GL version is 3.2 or greater. GL_COMPUTE_WORK_GROUP_SIZE is accepted only if the GL version is 4.3 or greater. If an error is generated, no change is made to the contents of params.

@OpenGL_Version(OGLIntroducedIn.V2P0)
fn_glGetProgramiv glGetProgramiv;

See Also

glAttachShader, glCreateProgram, glDeleteProgram, glGetShader, glLinkProgram, glValidateProgram

Meta