OpenGL ES SDK for Android
ARM Developer Center
|
Go to the source code of this file.
Classes | |
struct | Scene |
struct | App |
Macros | |
#define | NUM_SCENES 5 |
#define | get_attrib_location(prog, name) |
#define | get_uniform_location(prog, name) |
#define | attribfv(prog, name, n, offset) |
#define | uniform1f(prog, name, value) glUniform1f(app->u_##prog##_##name, value); |
#define | uniform2f(prog, name, x, y) glUniform2f(app->u_##prog##_##name, x, y); |
#define | uniform3fv(prog, name, value) glUniform3fv(app->u_##prog##_##name, 1, &value[0]); |
#define | uniform1i(prog, name, value) glUniform1i(app->u_##prog##_##name, value); |
#define | uniformm4(prog, name, value) glUniformMatrix4fv(app->u_##prog##_##name, 1, GL_FALSE, value.value_ptr()); |
Functions | |
void | app_initialize (App *app) |
void | app_update_and_render (App *app) |
Definition at line 94 of file tessellation.h.
#define get_attrib_location | ( | prog, | |
name | |||
) |
Definition at line 82 of file tessellation.h.
#define get_uniform_location | ( | prog, | |
name | |||
) |
Definition at line 88 of file tessellation.h.
#define NUM_SCENES 5 |
Definition at line 26 of file tessellation.h.
Definition at line 99 of file tessellation.h.
Definition at line 102 of file tessellation.h.
Definition at line 100 of file tessellation.h.
Definition at line 101 of file tessellation.h.
#define uniformm4 | ( | prog, | |
name, | |||
value | |||
) | glUniformMatrix4fv(app->u_##prog##_##name, 1, GL_FALSE, value.value_ptr()); |
Definition at line 103 of file tessellation.h.
Definition at line 248 of file geometry.cpp.
Definition at line 297 of file geometry.cpp.