glGetInternalFormativ

retrieve information about implementation-dependent support for internal formats

Signature

glGetInternalFormati64v( GLenum ( target ) , GLenum ( internalformat ) , GLenum ( pname ) , GLsizei ( bufSize ) , GLint64 *( params ) )-> void
glGetInternalFormativ( GLenum ( target ) , GLenum ( internalformat ) , GLenum ( pname ) , GLsizei ( bufSize ) , GLint *( params ) )-> void

Parameters

VariablesDescription
target
Indicates the usage of the internal format. target must be GL_TEXTURE_1D , GL_TEXTURE_1D_ARRAY , GL_TEXTURE_2D , GL_TEXTURE_2D_ARRAY , GL_TEXTURE_3D , GL_TEXTURE_CUBE_MAP , GL_TEXTURE_CUBE_MAP_ARRAY , GL_TEXTURE_RECTANGLE , GL_TEXTURE_BUFFER , GL_RENDERBUFFER , GL_TEXTURE_2D_MULTISAMPLE or GL_TEXTURE_2D_MULTISAMPLE_ARRAY .
internalformat
Specifies the internal format about which to retrieve information.
pname
Specifies the type of information to query.
bufSize
Specifies the maximum number of basic machine units that may be written to params by the function.
params
Specifies the address of a variable into which to write the retrieved information.