![]() |
OpenGL ES SDK for Android
ARM Developer Center
|
Classes | |
| class | Material |
| class | Keyframe |
| class | Model3D |
Functions | |
| bool | load_file (const std::string &a_path, char **a_buffer, int &a_bytes_read, const bool binary) |
| bool Model3D::Model3D::load_file | ( | const std::string & | a_path, |
| char ** | a_buffer, | ||
| int & | a_bytes_read, | ||
| const bool | binary = true |
||
| ) |
Use this method to load any file from the filesystem This method will return a buffer, clients must free the a_buffer afterwards
| a_path | specifies the file to load |
| a_buffer | will be used to load the data from the file as bytes |
| a_bytes_read | output the total number of bytes read |
| binary | read the file in binary mode |
Definition at line 33 of file model3d.cpp.