A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from https://www.khronos.org/opengles/sdk/docs/man3/html/glGenTextures.xhtml below:

OpenGL ES 3 Reference Pages

Name

glGenTextures — generate texture names

C Specification void glGenTextures( GLsizei n,   GLuint * textures);

 

Parameters
n

Specifies the number of texture names to be generated.

textures

Specifies an array in which the generated texture names are stored.

Description

glGenTextures returns n texture names in textures. There is no guarantee that the names form a contiguous set of integers; however, it is guaranteed that none of the returned names was in use immediately before the call to glGenTextures.

Texture names returned by a call to glGenTextures are not returned by subsequent calls, unless they are first deleted with glDeleteTextures.

The names returned in textures are marked as used, for the purposes of glGenTextures only, but they acquire state and dimensionality only when they are first bound using glBindTexture.

Errors

GL_INVALID_VALUE is generated if n is negative.

API Version Support OpenGL ES API Version Function Name 2.0 3.0 glGenTextures ✔ ✔

RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4