![]() |
Mali OpenGL ES SDK v2.4.4
Mali Developer Center
Use of the code snippets present within these pages are subject to these EULA terms
|
Functions | |
| void | cull (bool enabled, GLenum front, GLenum mode) |
| void | depth_test (bool enabled, GLenum func) |
| void | depth_write (bool enabled) |
| void | blend_mode (bool enabled, GLenum src, GLenum dest, GLenum func) |
| void | use_shader (Shader shader) |
| void | attribfv (string name, GLsizei num_components, GLsizei stride, GLsizei offset) |
| void | unset_attrib (string name) |
| void | uniform (string name, const mat4 &v) |
| void | uniform (string name, const vec4 &v) |
| void | uniform (string name, const vec3 &v) |
| void | uniform (string name, const vec2 &v) |
| void | uniform (string name, double v) |
| void | uniform (string name, float v) |
| void | uniform (string name, int v) |
| void | uniform (string name, unsigned int v) |
| bool | read_file (const std::string &path, std::string &dest) |
| GLuint | gen_buffer (GLenum target, GLenum usage, GLsizei size, const void *data) |
| GLuint | gen_buffer (GLenum target, GLsizei size, const void *data) |
| void | del_buffer (GLuint buffer) |
Variables | |
| Shader | current |
| void attribfv | ( | string | name, |
| GLsizei | num_components, | ||
| GLsizei | stride, | ||
| GLsizei | offset | ||
| ) |
| void blend_mode | ( | bool | enabled, |
| GLenum | src, | ||
| GLenum | dest, | ||
| GLenum | func | ||
| ) |
| void cull | ( | bool | enabled, |
| GLenum | front, | ||
| GLenum | mode | ||
| ) |
| void del_buffer | ( | GLuint | buffer | ) |
| void depth_test | ( | bool | enabled, |
| GLenum | func | ||
| ) |
| void depth_write | ( | bool | enabled | ) |
| GLuint gen_buffer | ( | GLenum | target, |
| GLenum | usage, | ||
| GLsizei | size, | ||
| const void * | data | ||
| ) |
| GLuint gen_buffer | ( | GLenum | target, |
| GLsizei | size, | ||
| const void * | data | ||
| ) |
| bool read_file | ( | const std::string & | path, |
| std::string & | dest | ||
| ) |
| void uniform | ( | string | name, |
| const mat4 & | v | ||
| ) |
| void uniform | ( | string | name, |
| const vec4 & | v | ||
| ) |
| void uniform | ( | string | name, |
| const vec3 & | v | ||
| ) |
| void uniform | ( | string | name, |
| const vec2 & | v | ||
| ) |
| void uniform | ( | string | name, |
| double | v | ||
| ) |
| void uniform | ( | string | name, |
| float | v | ||
| ) |
| void uniform | ( | string | name, |
| int | v | ||
| ) |
| void uniform | ( | string | name, |
| unsigned int | v | ||
| ) |
| void unset_attrib | ( | string | name | ) |
| void use_shader | ( | Shader | shader | ) |
| Shader current |