Graphics Reference
In-Depth Information
specifies the parameter to be retrieved; must be one of
GL_VERTEX_ATTRIB_ARRAY_BUFFER_BINDING ,
GL_VERTEX_ATTRIB_ARRAY_ENABLED ,
GL_VERTEX_ATTRIB_ARRAY_SIZE ,
GL_VERTEX_ATTRIB_ARRAY_STRIDE ,
GL_VERTEX_ATTRIB_ARRAY_TYPE ,
GL_VERTEX_ATTRIB_ARRAY_NORMALIZED ,
GL_VERTEX_ATTRIB_ARRAY_INTEGER , or
GL_VERTEX_ATTRIB_ARRAY_DIVISOR.
GL_CURRENT_VERTEX_ATTRIB returns the current vertex
attribute as specified by glEnableVertexAttribArray , and
the other parameters are values specified when the vertex
attribute pointer is specified by calling glVertexAttribPointer.
specifies an array of the appropriate type for storing the
returned parameter values.
pname
params
Texture State Queries
OpenGL ES 3.0 texture objects store a texture's image data, along with
settings describing how the texels in the image should be sampled. The
texture filter state, which includes the minification and magnification texture
filters and texture-coordinate wrap modes, can be queried from the currently
bound texture object. The following call retrieves the texture filter settings:
void glGetTexParameterfv (GLenum target , GLenum pname ,
GLfloat * params )
void glGetTexParameteriv (GLenum target , GLenum pname ,
GLint * params )
specifies the texture target; can either be GL_TEXTURE_2D,
GL_TEXTURE_2D_ARRAY, GL_TEXTURE_3D , or
GL_TEXTURE_CUBE_MAP
target
specifies the texture filter parameter to be retrieved; may be
GL_TEXTURE_BASE_LEVEL, GL_TEXTURE_COMPARE_FUNC ,
GL_TEXTURE_COMPARE_MODE , GL_TEXTURE_MAG_FILTER ,
GL_TEXTURE_IMMUTABLE_FORMAT , GL_TEXTURE_MAX_LEVEL ,
GL_TEXTURE_MAX_LOD , GL_TEXTURE_MIN_FILTER ,
GL_TEXTURE_MIN_LOD , GL_TEXTURE_SWIZZLE_R ,
pname
(continues)
 
 
 
Search WWH ::




Custom Search