OpenGL ES SDK for Android ARM Developer Center
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
Image.cpp File Reference
#include <cstdio>
#include <cstdlib>
#include <cstring>
#include "Skybox.h"
#include "Image.h"

Go to the source code of this file.

Functions

ImageFile load_ppm_file (const char *ppm_file_name)
 

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.