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

Go to the source code of this file.

Functions

void initialize3DTexture ()
 Initializes OpenGL ES texture components. More...
 
void initializeAttribArrays ()
 Initializes input vertex data for shaders. More...
 
void initializeProgram ()
 Creates program and attaches shaders to it. More...
 
void initializeTextureData ()
 Fills 3D texture with images. More...
 
void initializeUniformData ()
 Initializes uniform variables in program. More...
 
void loadImages ()
 Loads imagesCount images located in resourceDirectory. More...
 
void loadUniformTextures (int count)
 Creates and loads count unicolor layers to a 3D texture. More...
 
void setBlendEquation (GLboolean isMinBlending)
 Sets current blending equation. More...
 
void setNextTextureImage (GLvoid *textureData)
 Fills next empty 3D texture layer with textureData. More...
 

Function Documentation

void initialize3DTexture ( )

Initializes OpenGL ES texture components.

Definition at line 149 of file Native.cpp.

void initializeAttribArrays ( )

Initializes input vertex data for shaders.

Definition at line 183 of file Native.cpp.

void initializeProgram ( )

Creates program and attaches shaders to it.

Definition at line 220 of file Native.cpp.

void initializeTextureData ( )

Fills 3D texture with images.

Definition at line 250 of file Native.cpp.

void initializeUniformData ( )

Initializes uniform variables in program.

Definition at line 274 of file Native.cpp.

void loadImages ( )

Loads imagesCount images located in resourceDirectory.

Definition at line 333 of file Native.cpp.

void loadUniformTextures ( int  count)

Creates and loads count unicolor layers to a 3D texture.

Parameters
countNumber of layers to be filled.

Definition at line 362 of file Native.cpp.

void setBlendEquation ( GLboolean  isMinBlending)

Sets current blending equation.

Parameters
isMinBlendingTrue, if GL_MIN blending mode should be used.

Definition at line 433 of file Native.cpp.

void setNextTextureImage ( GLvoid *  textureData)

Fills next empty 3D texture layer with textureData.

It is called by the functions which prepare texture data either by creating it inside the application or loading it from from a file.

Parameters
textureDataData the 3D texture is filled with.

Definition at line 459 of file Native.cpp.