submesh Class Reference

Collaboration diagram for submesh:

Collaboration graph
[legend]

List of all members.


Detailed Description

A submesh is part of a mesh with a particular material.

It is only for internal use. A submesh_node will collect one or more submeshes to use in a model part.

Definition at line 317 of file model.cpp.


Public Member Functions

void draw (gsgl::flags_t render_flags=0)
void load ()
 submesh ()
void unload ()
 ~submesh ()

Public Attributes

vertex_buffer line_vertices
materialmat
vertex_buffer point_vertices
vertex_buffer triangle_normals
vertex_buffer triangle_texcoords
vertex_buffer triangle_vertices

Constructor & Destructor Documentation

submesh (  ) 

Definition at line 338 of file model.cpp.

~submesh (  ) 

Definition at line 349 of file model.cpp.

References submesh::unload().


Member Function Documentation

void draw ( gsgl::flags_t  render_flags = 0  ) 

void load (  ) 

void unload (  ) 


Member Data Documentation

Definition at line 324 of file model.cpp.

Referenced by submesh::draw(), submesh::load(), and submesh::unload().

Definition at line 320 of file model.cpp.

Referenced by submesh::draw(), and mesh_file::load_obj_file().

Definition at line 323 of file model.cpp.

Referenced by submesh::draw(), submesh::load(), and submesh::unload().

Definition at line 327 of file model.cpp.

Referenced by submesh::draw(), submesh::load(), and submesh::unload().

Definition at line 326 of file model.cpp.

Referenced by submesh::draw(), submesh::load(), and submesh::unload().

Definition at line 325 of file model.cpp.

Referenced by submesh::draw(), submesh::load(), and submesh::unload().


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

Generated on Sat Mar 1 13:50:07 2008 for Periapsis Project by  doxygen 1.5.5