Skip to content

API Reference / @gtkx/gl / useProgramStages

Function: useProgramStages()

useProgramStages(pipeline, stages, program): void

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

void glUseProgramStages(GLuint pipeline, GLbitfield stages, 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

stages

number

UseProgramStageMask

program

number

GLuint, object class program

Returns

void

Released under the MPL-2.0 License.