URL: https://graphicscomputing.fr/cgp/reference/opengl_texture_image_structure/
Description: OpenGL texture.

# opengl_texture_image_structure

OpenGL texture.

Fields:

- `GLuint id` - OpenGL id of the texture, 0 when no texture is allocated.
- `int width` - Width of the texture in pixels.
- `int height` - Height of the texture in pixels.
- `GLint format` - Internal format of the texture, such as GL_RGB8, GL_RGBA8, GL_RGB32F or GL_DEPTH_COMPONENT.
- `GLenum texture_type` - Texture target, GL_TEXTURE_2D or GL_TEXTURE_CUBE_MAP, used by bind and unbind.
