OpenGL ES SDK for Android ARM Developer Center
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
GLDrawable Class Reference

#include <mesh.hpp>

Public Member Functions

 GLDrawable (const Mesh &mesh)
 
 GLDrawable ()
 
 ~GLDrawable ()
 
const AABBget_aabb () const
 
GLuint get_vertex_array () const
 
unsigned get_num_elements () const
 

Private Attributes

GLuint vertex_array
 
GLuint vertex_buffer
 
GLuint index_buffer
 
unsigned num_elements
 
AABB aabb
 

Detailed Description

Definition at line 55 of file mesh.hpp.

Constructor & Destructor Documentation

GLDrawable::GLDrawable ( const Mesh mesh)

Definition at line 61 of file mesh.cpp.

GLDrawable::GLDrawable ( )

Definition at line 25 of file mesh.cpp.

GLDrawable::~GLDrawable ( )

Definition at line 100 of file mesh.cpp.

Member Function Documentation

const AABB & GLDrawable::get_aabb ( ) const

Definition at line 107 of file mesh.cpp.

unsigned GLDrawable::get_num_elements ( ) const

Definition at line 112 of file mesh.cpp.

GLuint GLDrawable::get_vertex_array ( ) const

Definition at line 117 of file mesh.cpp.

Member Data Documentation

AABB GLDrawable::aabb
private

Definition at line 73 of file mesh.hpp.

GLuint GLDrawable::index_buffer
private

Definition at line 70 of file mesh.hpp.

unsigned GLDrawable::num_elements
private

Definition at line 72 of file mesh.hpp.

GLuint GLDrawable::vertex_array
private

Definition at line 68 of file mesh.hpp.

GLuint GLDrawable::vertex_buffer
private

Definition at line 69 of file mesh.hpp.


The documentation for this class was generated from the following files: