SPYROpenGL 1.2.0
Projet SPYROpenGL
 
Chargement...
Recherche...
Aucune correspondance
Textures.h
Aller à la documentation de ce fichier.
1
9#ifndef TEXTURES_H
10#define TEXTURES_H
11
16{
17 public:
23 static const void LoadJpegImage(const char *fichier, unsigned char* texture);
24
28 static const int widthSkybox=1280;
32 static const int heightSkybox=720;
36 static const int widthOeil=32;
40 static const int heightOeil=32;
44 static const int widthCriniere=428;
48 static const int heightCriniere=428;
49};
50
63
64#endif // TEXTURES_H
unsigned char textureOeil[Textures::widthOeil *Textures::heightOeil *3]
Variable stockant la texture d'un œil (identique pour chaque)
unsigned char textureSkybox[Textures::widthSkybox *Textures::heightSkybox *3]
Variable stockant la texture de la skybox.
unsigned char textureCriniere[Textures::widthCriniere *Textures::heightCriniere *3]
Variable stockant la texture de la crinière.
Classe permettant l'application des textures.
Definition Textures.h:16
static const void LoadJpegImage(const char *fichier, unsigned char *texture)
Méthode permettant de charger un fichier JPEG.
Definition Textures.cpp:18
static const int widthCriniere
Largeur de l'image de la crinière.
Definition Textures.h:44
static const int heightSkybox
Hauteur de l'image de la skybox.
Definition Textures.h:32
static const int heightCriniere
Hauteur de l'image de la crinière.
Definition Textures.h:48
static const int widthOeil
Largeur de l'image d'un œil (identique pour chaque)
Definition Textures.h:36
static const int heightOeil
Hauteur de l'image d'un œil (identique pour chaque)
Definition Textures.h:40
static const int widthSkybox
Largeur de l'image de la skybox.
Definition Textures.h:28