GLCREATETEXTURES(3G)

    .SH "NAME" glCreateTextures - create texture objects
    .SH "C SPECIFICATION"

            .HP u void glCreateTextures(GLenum target, GLsizei n, GLuint *textures);

    .SH "PARAMETERS"

            .PP target

                        Specifies the effective texture target of each created texture.

                .RE
                .PP n

                            Number of texture objects to create.

                    .RE
                    .PP textures

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

                        .RE

                .SH "DESCRIPTION"
                    .PP glCreateTextures returns n previously unused texture names in textures, each representing a new texture object of the dimensionality and type specified by target and initialized to the default values for that texture type.
                    .PP target must be one of GL_TEXTURE_1D, GL_TEXTURE_2D, GL_TEXTURE_3D, GL_TEXTURE_1D_ARRAY, GL_TEXTURE_2D_ARRAY, GL_TEXTURE_RECTANGLE, GL_TEXTURE_CUBE_MAP, GL_TEXTURE_CUBE_MAP_ARRAY, GL_TEXTURE_BUFFER, GL_TEXTURE_2D_MULTISAMPLE or GL_TEXTURE_2D_MULTISAMPLE_ARRAY.

                .SH "ERRORS"
                    .PP GL_INVALID_ENUM is generated if target is not one of the allowable values.
                    .PP GL_INVALID_VALUE is generated if n is negative.

                .SH "VERSION SUPPORT"
                    .TS allbox tab(:); l l l l l l l l l l l l l. T{ glCreateTextures T}:T{ T}:T{ T}:T{ T}:T{ T}:T{ T}:T{ T}:T{ T}:T{ T}:T{ T}:T{ T}:T{ T}:T{ T}

                .SH "SEE ALSO"
                    .PP glBindTexture(), glDeleteTextures(), glGenTextures(), glGet(), glGetTexParameter(), glIsTexture(), glTexBuffer(), glTexImage1D(), glTexImage2D(), glTexImage2DMultisample(), glTexImage3D(), glTexImage3DMultisample(), glTexParameter()

                .SH "COPYRIGHT"
                    .PP Copyright © 2014 Khronos Group. This material may be distributed subject to the terms and conditions set forth in the Open Publication License, v 1.0, 8 June 1999. http://opencontent.org/openpub/.

COPYRIGHT
Copyright © 2014 Khronos Group