OpenGL ES SDK for Android ARM Developer Center
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
Image.h File Reference

Go to the source code of this file.

Classes

struct  ImageFile
 Struct representing texture image. More...
 

Typedefs

typedef struct ImageFile ImageFile
 Struct representing texture image. More...
 

Functions

ImageFile load_ppm_file (const char *ppm_file_name)
 

Typedef Documentation

typedef struct ImageFile ImageFile

Struct representing texture image.

Function Documentation

ImageFile load_ppm_file ( const char *  ppm_file_name)

Reads the pixmap file and loads the texture image information into Image struct.

Parameters
ppm_file_namePath to the .ppm file.
Returns
Filled TextureImage struct with texture image params and data.

Definition at line 29 of file Image.cpp.