Skip to content

API Reference / @gtkx/gl / getProgramResourceiv

Function: getProgramResourceiv()

getProgramResourceiv(program, programInterface, index, propCount, props, count): [number, number[]]

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

void glGetProgramResourceiv(GLuint program, GLenum programInterface, GLuint index, GLsizei propCount, const GLenum *props, GLsizei count, GLsizei *length, GLint *params)

Provided by GL_VERSION_4_3.

Parameters

program

number

GLuint, object class program

programInterface

number

GLenum, group ProgramInterface

index

number

GLuint

propCount

number

GLsizei

props

number[] | Uint32Array<ArrayBufferLike>

const GLenum *, group ProgramResourceProperty, length propCount

count

number

GLsizei

Returns

[number, number[]]

Tuple of length (GLsizei *), params (GLint *)

See

https://registry.khronos.org/OpenGL-Refpages/gl4/html/glGetProgramResourceiv.xhtml

Released under the MPL-2.0 License.