Graphics Reference
In-Depth Information
(continued)
GL_TEXTURE_SWIZZLE_G
,
GL_TEXTURE_SWIZZLE_B
,
GL_TEXTURE_SWIZZLE_A
,
GL_TEXTURE_WRAP_S
,
GL_TEXTURE_SWIZZLE_T
, or
GL_TEXTURE_WRAP_R
specifies an array of the appropriate type for storing the
returned parameter values
params
State information for sampler objects can be retrieved from the current
OpenGL ES 3.0 context by calling the following function:
void
glGetSamplerParameterfv
(GLuint
sampler
, GLenum
pname
,
GLfloat *
params
)
void
glGetSamplerParameteriv
(GLuint
sampler
, GLenum
pname
,
GLint *
params
)
specifies the name of a sampler object
specifies the sampler parameter to be retrieved; may be
GL_TEXTURE_MAG_FILTER
,
GL_TEXTURE_MIN_FILTER
,
GL_TEXTURE_MIN_LOD
,
GL_TEXTURE_MAX_LOD,
GL_TEXTURE_WRAP_S
,
GL_TEXTURE_WRAP_T
,
GL_TEXTURE_WRAP_R
,
GL_TEXTURE_COMPARE_MODE
, or
GL_TEXTURE_COMPARE_FUNC
specifies an array of the appropriate type for storing the
returned parameter values
sampler
pname
params
Information about a query object can be retrieved from the current
OpenGL ES 3.0 context by calling the following function:
void
glGetQueryiv
(GLuint
target
, GLenum
pname
,
GLint *
params
)
specifies the query target object; can be
GL_ANY_SAMPLES_PASSED,
target