Skip to content

API Reference / @gtkx/gl / getTextureParameteriv

Function: getTextureParameteriv()

getTextureParameteriv(texture, pname): number

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

void glGetTextureParameteriv(GLuint texture, GLenum pname, GLint *params)

Provided by GL_VERSION_4_5. Registry note: Reuse GL_ARB_direct_state_access Also provided by the GL_ARB_direct_state_access extension. GL_ARB_direct_state_access note: Texture object functions.

Parameters

texture

number

GLuint, object class texture

pname

number

GetTextureParameter

Returns

number

params (GLint)

Released under the MPL-2.0 License.