glGetSamplerParameter

return sampler parameter values

Signature

glGetSamplerParameter( )->
glGetSamplerParameterIiv( GLuint ( sampler ) , GLenum ( pname ) , GLint * ( params ) )-> void
glGetSamplerParameterIiv( sampler , pname , params )
glGetSamplerParameterIuiv( GLuint ( sampler ) , GLenum ( pname ) , GLuint * ( params ) )-> void
glGetSamplerParameterIuiv( sampler , pname , params )
glGetSamplerParameterfv( GLuint ( sampler ) , GLenum ( pname ) , GLfloat * ( params ) )-> void
glGetSamplerParameterfv( sampler , pname , params )
glGetSamplerParameteriv( GLuint ( sampler ) , GLenum ( pname ) , GLint * ( params ) )-> void
glGetSamplerParameteriv( sampler , pname , params )

Parameters

VariablesDescription
sampler
Specifies name of the sampler object from which to retrieve parameters.
pname
Specifies the symbolic name of a sampler parameter. GL_TEXTURE_MAG_FILTER , GL_TEXTURE_MIN_FILTER , GL_TEXTURE_MIN_LOD , GL_TEXTURE_MAX_LOD , GL_TEXTURE_LOD_BIAS , GL_TEXTURE_WRAP_S , GL_TEXTURE_WRAP_T , GL_TEXTURE_WRAP_R , GL_TEXTURE_BORDER_COLOR , GL_TEXTURE_COMPARE_MODE , and GL_TEXTURE_COMPARE_FUNC are accepted.
params
Returns the sampler parameters.