GL_APICALL void GL_APIENTRY glGenTextures(
GLsizei n,
GLuint * textures
);
| Name | Description | |
|---|---|---|
| in | n | Number of texture objects to generate |
| out | textures | Array storing the generated texture objects |
Generates texture objects.
Set n the number of objects to generate. Set textures to the array used to store the generated objects.
When a texture object is generated, it is not yet decided whether it will be used as a texture, as a lookup table, or as a texture state collection. It can be used for any of these.
This function generates the following errors.
| GL_INVALID_VALUE | The n argument is negative. |
|---|---|
| GL_OUT_OF_MEMORY | Failed to allocate the management region. |
CONFIDENTIAL