glSamplerParameter

set sampler parameters

Signature

glSamplerParameter( )->
glSamplerParameterIiv( GLuint ( sampler ) , GLenum ( pname ) , const GLint *( params ) )-> void
glSamplerParameterIiv( sampler , pname , param )
glSamplerParameterIuiv( GLuint ( sampler ) , GLenum ( pname ) , const GLuint *( params ) )-> void
glSamplerParameterIuiv( sampler , pname , param )
glSamplerParameterf( GLuint ( sampler ) , GLenum ( pname ) , GLfloat ( param ) )-> void
glSamplerParameterf( sampler , pname , param )
glSamplerParameterfv( GLuint ( sampler ) , GLenum ( pname ) , const GLfloat * ( params ) )-> void
glSamplerParameterfv( sampler , pname , param )
glSamplerParameteri( GLuint ( sampler ) , GLenum ( pname ) , GLint ( param ) )-> void
glSamplerParameteri( sampler , pname , param )
glSamplerParameteriv( GLuint ( sampler ) , GLenum ( pname ) , const GLint * ( params ) )-> void
glSamplerParameteriv( sampler , pname , param )

Parameters

VariablesDescription
sampler
Specifies the sampler object whose parameter to modify.
pname
Specifies the symbolic name of a sampler parameter. pname can be one of the following: GL_TEXTURE_WRAP_S , GL_TEXTURE_WRAP_T , GL_TEXTURE_WRAP_R , GL_TEXTURE_MIN_FILTER , GL_TEXTURE_MAG_FILTER , GL_TEXTURE_BORDER_COLOR , GL_TEXTURE_MIN_LOD , GL_TEXTURE_MAX_LOD , GL_TEXTURE_LOD_BIAS GL_TEXTURE_COMPARE_MODE , or GL_TEXTURE_COMPARE_FUNC .
param
For the scalar commands, specifies the value of pname .
params
For the vector commands ( glSamplerParameter*v ), specifies a pointer to an array where the value or values of pname are stored.