Bbop-2D 0.4.1-alpha
Bbop-2D is a c++ library based on openGL to make 2D game. It implement sprite, shape, light and more.
Loading...
Searching...
No Matches
Public Attributes | List of all members
Image Struct Reference

Stock une image. More...

#include <textureClass.h>

Public Attributes

int width
 
int height
 
int nrChannels
 
unsigned char * data
 

Detailed Description

Stock une image.

Note
Peut être utiliser avec les fonctions de chargements d'image personnalisées pour être passé en paramètre au constructeur de Texture
See also
Texture bbopLoadImagePartial bbopLoadSpriteSheet
Todo:
Faire de cette struct une class pour ajouter ddes méthode de moification des Images

Member Data Documentation

◆ data

unsigned char* Image::data

◆ height

int Image::height

◆ nrChannels

int Image::nrChannels

◆ width

int Image::width

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