Partager via


Contrôle Framebuffer, variables d’état

GL\_DRAW\_BUFFER
Propriété Valeur
Description : Mémoires tampons sélectionnées pour le dessin
Groupe d’attributs : color-buffer
Valeur initiale :
Commande Get : glGetIntegerv

 

GL\_INDEX\_WRITEMASK
Propriété Valeur
Description : Masque d’écriture d’index de couleur
Groupe d’attributs : color-buffer
Valeur initiale : 1's
Commande Get : glGetIntegerv

 

GL\_COLOR\_WRITEMASK
Propriété Valeur
Description : L’écriture de couleur permet ; R, G, B ou A
Groupe d’attributs : color-buffer
Valeur initiale : GL_TRUE
Commande Get : glGetBooleanv

 

GL\_DEPTH\_WRITEMASK
Propriété Valeur
Description : Mémoire tampon de profondeur activée pour l’écriture
Groupe d’attributs : depth-buffer
Valeur initiale : GL_TRUE
Commande Get : glGetBooleanv

 

GL\_STENCIL\_WRITEMASK
Propriété Valeur
Description : Masque d’écriture Stencil-buffer
Groupe d’attributs : stencil-buffer
Valeur initiale : 1's
Commande Get : glGetIntegerv

 

GL\_COLOR\_CLEAR\_VALUE
Propriété Valeur
Description : Valeur d’effacement de la mémoire tampon de couleur (mode RVBA)
Groupe d’attributs : color-buffer
Valeur initiale : 0, 0, 0, 0
Commande Get : glGetFloatv

 

GL\_INDEX\_CLEAR\_VALUE
Propriété Valeur
Description : Valeur d’effacement de la mémoire tampon de couleur (mode d’index de couleur)
Groupe d’attributs : color-buffer
Valeur initiale : 0
Commande Get : glGetFloatv

 

GL\_DEPTH\_CLEAR\_VALUE
Propriété Valeur
Description : Valeur d’effacement de la mémoire tampon de profondeur
Groupe d’attributs : depth-buffer
Valeur initiale : 1
Commande Get : glGetIntegerv

 

GL\_STENCIL\_CLEAR\_VALUE
Propriété Valeur
Description : Stencil-buffer clear value
Groupe d’attributs : stencil-buffer
Valeur initiale : 0
Commande Get : glGetIntegerv

 

GL\_ACCUM\_CLEAR\_VALUE
Propriété Valeur
Description : Valeur d’effacement de la mémoire tampon d’accumulation
Groupe d’attributs : accum-buffer
Valeur initiale : 0
Commande Get : glGetFloatv