ColorFormat Constructeurs
Définition
Important
Certaines informations portent sur la préversion du produit qui est susceptible d’être en grande partie modifiée avant sa publication. Microsoft exclut toute garantie, expresse ou implicite, concernant les informations fournies ici.
Surcharges
| ColorFormat(Int32) |
Construit un nouveau ColorFormat avec les bits d’agrégation spécifiés par pixel. |
| ColorFormat(Int32, Int32, Int32, Int32) |
Construit un nouveau ColorFormat avec les bits spécifiés par pixel pour les canaux de couleurs Rouge, Vert, Bleu et Alpha. |
ColorFormat(Int32)
Construit un nouveau ColorFormat avec les bits d’agrégation spécifiés par pixel.
public ColorFormat (int bpp);
new OpenTK.Graphics.ColorFormat : int -> OpenTK.Graphics.ColorFormat
Paramètres
- bpp
- Int32
Somme des bits par pixel pour les canaux de couleurs Rouge, Vert, Bleu et Alpha.
S’applique à
ColorFormat(Int32, Int32, Int32, Int32)
Construit un nouveau ColorFormat avec les bits spécifiés par pixel pour les canaux de couleurs Rouge, Vert, Bleu et Alpha.
public ColorFormat (int red, int green, int blue, int alpha);
new OpenTK.Graphics.ColorFormat : int * int * int * int -> OpenTK.Graphics.ColorFormat
Paramètres
- red
- Int32
Bits par pixel pour le canal de couleur rouge.
- green
- Int32
Bits par pixel pour le canal de couleur vert.
- blue
- Int32
Bits par pixel pour le canal de couleur bleu.
- alpha
- Int32
Bits par pixel pour le canal de couleur Alpha.