Suckless OGL 1.0.0
A lean, high-performance C11 PBR Renderer
Loading...
Searching...
No Matches
GlTexture Struct Reference

Encapsule l'objet texture OpenGL résidant en VRAM. More...

Data Fields

GLuint id
 
GLint internal_fmt
 
GLenum base_fmt
 
GLenum type
 
GLsizei w
 
GLsizei h
 

Detailed Description

Encapsule l'objet texture OpenGL résidant en VRAM.

Field Documentation

◆ base_fmt

GLenum GlTexture::base_fmt

Format de base GL (ex : GL_RGB).

◆ h

GLsizei GlTexture::h

Hauteur de l'image (Level 0).

◆ id

GLuint GlTexture::id

Identifiant (Handle) de la texture générée par OpenGL.

◆ internal_fmt

GLint GlTexture::internal_fmt

Format interne GL (ex : GL_RGB16F).

◆ type

GLenum GlTexture::type

Type de composant (ex : GL_HALF_FLOAT).

◆ w

GLsizei GlTexture::w

Largeur de l'image (Level 0).


The documentation for this struct was generated from the following file: