SimpleGL  1.1.0
A framework for platform independent rendering
Public Attributes | List of all members
sgl::TextureData Struct Reference

This structure stores texture image data. More...

#include <texture_object.hpp>

Public Attributes

int width
 The width of the image. More...
 
int height
 The height of the image. More...
 
int components
 The number of color channels. More...
 
unsigned char * pixels
 The pixel data of the image. More...
 

Detailed Description

This structure stores texture image data.

Definition at line 56 of file texture_object.hpp.

Member Data Documentation

int sgl::TextureData::components

The number of color channels.

Definition at line 65 of file texture_object.hpp.

int sgl::TextureData::height

The height of the image.

Definition at line 62 of file texture_object.hpp.

unsigned char* sgl::TextureData::pixels

The pixel data of the image.

Definition at line 68 of file texture_object.hpp.

int sgl::TextureData::width

The width of the image.

Definition at line 59 of file texture_object.hpp.


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