OpenGL ES SDK for Android ARM Developer Center
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
Texture.h File Reference
#include <GLES2/gl2.h>

Go to the source code of this file.

Functions

void loadTexture (const char *texture, unsigned int level, unsigned int width, unsigned int height)
 Loads a desired texture into memory at an appropriate mipmap level. More...
 
void loadCompressedTexture (const char *texture, unsigned int level)
 Loads a compressed texture into memory at an appropriate mipmap level. More...
 

Function Documentation

void loadCompressedTexture ( const char *  texture,
unsigned int  level 
)

Loads a compressed texture into memory at an appropriate mipmap level.

Parameters
textureThe name of the texture file to be loeaded from the system.
levelThe mipmap level that the texture should be loaded into.

Definition at line 62 of file Texture.cpp.

void loadTexture ( const char *  texture,
unsigned int  level,
unsigned int  width,
unsigned int  height 
)

Loads a desired texture into memory at an appropriate mipmap level.

Parameters
textureThe name of the texture file to be loaded from the system.
levelThe mipmap level that the texture should be loaded into.
widthThe width of the texture to be loaded
heightThe height of the texture to be loaded.

Definition at line 35 of file Texture.cpp.