glDeleteSamplers

glDeleteSamplers: man3/glDeleteSamplers.xml

glDeleteSamplers deletes n sampler objects named by the elements of the array samplers. After a sampler object is deleted, its name is again unused. If a sampler object that is currently bound to a sampler unit is deleted, it is as though glBindSampler is called with unit set to the unit the sampler is bound to and sampler zero. Unused names in samplers are silently ignored, as is the reserved name zero.

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

@OpenGL_Version(OGLIntroducedIn.V3P3)
@OpenGL_Extension("GL_ARB_sampler_objects")
fn_glDeleteSamplers glDeleteSamplers;

See Also

glGenSamplers, glBindSampler, glDeleteSamplers, glIsSampler

Meta