glGetSamplerParameterIiv

glGetSamplerParameter: man3/glGetSamplerParameter.xml

glGetSamplerParameter returns in params the value or values of the sampler parameter specified as pname. sampler defines the target sampler, and must be the name of an existing sampler object, returned from a previous call to glGenSamplers. pname accepts the same symbols as glSamplerParameter, with the same interpretations:

If an error is generated, no change is made to the contents of params. glGetSamplerParameter is available only if the GL version is 3.3 or higher.

@OpenGL_Version(OGLIntroducedIn.V3P3)
@OpenGL_Extension("GL_ARB_sampler_objects")
fn_glGetSamplerParameterIiv glGetSamplerParameterIiv;

See Also

glSamplerParameter, glGenSamplers, glDeleteSamplers, glSamplerParameter

Meta