glIsSampler

glIsSampler: man4/glIsSampler.xml

glIsSampler returns GL_TRUE if id is currently the name of a sampler object. If id is zero, or is a non-zero value that is not currently the name of a sampler object, or if an error occurs, glIsSampler returns GL_FALSE. A name returned by glGenSamplers, is the name of a sampler object.

glIsSampler is available only if the GL version is 3.3 or higher.

@OpenGL_Version(OGLIntroducedIn.V3P3)
@OpenGL_Extension("GL_ARB_sampler_objects")
fn_glIsSampler glIsSampler;

See Also

glGenSamplers, glBindSampler, glDeleteSamplers

Meta