glCreateSamplers.3G man page

glCreateSamplers — create sampler objects

C Specification

void glCreateSamplers(GLsizei n, GLuint *samplers);

Parameters

n

Number of sampler objects to create.

samplers

Specifies an array in which names of the new sampler objects are stored.

Description

glCreateSamplers returns n previously unused sampler names in samplers, each representing a new sampler object initialized to the default state.

Errors

GL_INVALID_VALUE is generated if n is negative.

Version Support

OpenGL Version
Function / Feature Name2.02.13.03.13.23.34.04.14.24.34.44.5
glCreateSamplers-----------

See Also

glBindSampler(), glBindTexture(), glDeleteSamplers(), glDeleteTextures(), glGenSamplers(), glGenTextures(), glGet(), glGetSamplerParameter(), glSamplerParameter()

Info

07/25/2019