Skip to content

API Reference / @gtkx/gl / activeShaderProgram

Function: activeShaderProgram()

activeShaderProgram(pipeline, program): void

Defined in: generated/commands.d.ts:26

void glActiveShaderProgram(GLuint pipeline, GLuint program)

Provided by GL_VERSION_4_1. Registry note: Reuse commands from ARB_separate_shader_objects Also provided by the GL_ARB_separate_shader_objects extension.

Parameters

pipeline

number

GLuint, object class program pipeline

program

number

GLuint, object class program

Returns

void

Released under the MPL-2.0 License.