Skip to content

API Reference / @gtkx/gl / useProgramStages

Function: useProgramStages() ​

useProgramStages(pipeline, stages, program): void

Defined in: packages/gl/src/generated/commands.ts:8382

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