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

Go to the source code of this file.

Macros

#define GLES_VERSION   2
 

Variables

static const GLubyte cubeIndices []
 
static const float cubeVertices []
 
static const float cubeColors []
 

Macro Definition Documentation

#define GLES_VERSION   2

Definition at line 24 of file EGLPreserve.h.

Variable Documentation

const float cubeColors[]
static
Initial value:
=
{
0.0f, 0.0f, 0.0f, 1.0f,
1.0f, 0.0f, 0.0f, 1.0f,
0.0f, 1.0f, 0.0f, 1.0f,
1.0f, 1.0f, 0.0f, 1.0f,
0.0f, 0.0f, 1.0f, 1.0f,
1.0f, 0.0f, 1.0f, 1.0f,
0.0f, 1.0f, 1.0f, 1.0f,
1.0f, 1.0f, 1.0f, 1.0f,
}

Definition at line 54 of file EGLPreserve.h.

const GLubyte cubeIndices[]
static
Initial value:
=
{
0, 1, 2, 3, 4, 5, 6, 7, 0, 1, 1, 1, 1, 7, 3, 5, 5, 6, 6, 0, 4, 2,
}

Definition at line 29 of file EGLPreserve.h.

const float cubeVertices[]
static
Initial value:
=
{
-0.5f, -0.5f, 0.5f,
0.5f, -0.5f, 0.5f,
-0.5f, 0.5f, 0.5f,
0.5f, 0.5f, 0.5f,
-0.5f, 0.5f, -0.5f,
0.5f, 0.5f, -0.5f,
-0.5f, -0.5f, -0.5f,
0.5f, -0.5f, -0.5f,
}

Definition at line 42 of file EGLPreserve.h.