![]() |
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
|
Classes | |
| class | DesktopLinuxPlatform |
| Platform specific functions for a Desktop Linux platform. More... | |
| class | EGLRuntime |
| Functions for managing EGL. More... | |
| class | ETCHeader |
| Class to extract information from the ETC headers of compressed textures. More... | |
| class | HDRImage |
| Class to load an manage HDR images. More... | |
| class | LinuxOnARMPlatform |
| Platform specific functions for a Desktop Linux platform. More... | |
| class | Matrix |
| Functions for manipulating matrices. More... | |
| class | CubeModel |
| Functions for generating cube shapes. More... | |
| class | PlaneModel |
| Functions for generating Plane shapes. More... | |
| class | SphereModel |
| Functions for generating sphere shapes. More... | |
| class | SuperEllipsoidModel |
| Functions for generating super ellipsoid shapes. More... | |
| class | TorusModel |
| Functions for generating torus shapes. More... | |
| class | Platform |
| Abstract class to hide the complexity of multiple build targets. More... | |
| class | Shader |
| Functions for working with OpenGL ES shaders. More... | |
| class | Text |
| Functions for drawing text in OpenGL ES. More... | |
| class | Texture |
| Functions for working with textures. More... | |
| class | Timer |
| Provides a platform independent high resolution timer. More... | |
| struct | Vec2 |
| A 2D integer vector. More... | |
| class | Vec3 |
| A 3D integer vector. More... | |
| class | Vec4 |
| A 4D integer vector. More... | |
| class | Vec2f |
| A 2D floating point vector. More... | |
| class | Vec3f |
| A 3D floating point vector. More... | |
| class | Vec4f |
| A 4D floating point vector. More... | |
| class | WindowsPlatform |
| Platform specific functions for the Microsoft Windows platform. More... | |
| struct | Particle |
| A structure used to hold particle data. More... | |
| class | DiscEmitter |
| A class used to represent an emitter of random particles from a disc. More... | |
| struct | DirectionalLightProperties |
| struct | GeometryProperties |
| struct | ProgramAndShaderObjectIds |
| struct | RenderGeometryObjects |
| struct | RenderSceneObjects |
| struct | RenderSceneProgramLocations |
| struct | SpotLightProperties |
| struct | ModelViewProperties |
| struct | CameraViewProperties |
| struct | SpotLightViewProperites |
| struct | tagBITMAPFILEHEADER |
| struct | tagBITMAPINFOHEADER |
Typedefs | |
| typedef struct MaliSDK::Vec2 | Vec2 |
| Type representing texture coordinates. | |
Functions | |
| float | distanceBetweenPoints (const Vec2f &point1, const Vec2f &point2) |
| Compute Euclidean 2-dimensional distance between two points on XY plane. | |
| float | signum (float f) |
| Get the sign of a number. | |
| float | uniformRandomNumber () |
| Generate random number in the 0.0 to 1.0 range. | |
| float | degreesToRadians (float degrees) |
| Convert an angle in degrees to radians. | |
| void | loadData (const char *filename, unsigned char **textureData) |
| Load texture data from a file into memory. | |
| GLint | get_and_check_attrib_location (GLuint program, const GLchar *attrib_name) |
| Invoke glGetAttribLocation(), if it has returned a positive value. Otherwise, print a message and exit. Function used for clarity reasons. | |
| GLint | get_and_check_uniform_location (GLuint program, const GLchar *uniform_name) |
| Invoke glGetUniformLocation, if it has returned a positive value. Otherwise, print a message and exit. Function used for clarity reasons. | |
| typedef struct MaliSDK::Vec2 MaliSDK::Vec2 |
Type representing texture coordinates.
Convert an angle in degrees to radians.
| [in] | degrees | The angle (in degrees) to convert to radians. |
|
inline |
Compute Euclidean 2-dimensional distance between two points on XY plane.
| [in] | point1 | First point. |
| [in] | point2 | Second point. |
| GLint MaliSDK::get_and_check_attrib_location | ( | GLuint | program, |
| const GLchar * | attrib_name | ||
| ) |
Invoke glGetAttribLocation(), if it has returned a positive value. Otherwise, print a message and exit. Function used for clarity reasons.
| [in] | program | OpenGL ES specific. |
| [in] | attrib_name | OpenGL ES specific. |
| GLint MaliSDK::get_and_check_uniform_location | ( | GLuint | program, |
| const GLchar * | uniform_name | ||
| ) |
Invoke glGetUniformLocation, if it has returned a positive value. Otherwise, print a message and exit. Function used for clarity reasons.
| [in] | program | OpenGL ES specific. |
| [in] | uniform_name | OpenGL ES specific. |
| void MaliSDK::loadData | ( | const char * | filename, |
| unsigned char ** | textureData | ||
| ) |
Load texture data from a file into memory.
| [in] | filename | The filename of the texture to load. |
| [out] | textureData | Pointer to the texture that has been loaded. |
Get the sign of a number.
| [in] | f | Value to check the sign of. |
|
inline |
Generate random number in the 0.0 to 1.0 range.