Support Forum       G3D Web Page     
Static Public Member Functions | Public Attributes | Protected Member Functions | Static Protected Member Functions | List of all members
G3D::ParseOBJ::Mesh Class Reference

Part of a group that uses a single material. More...

Inherits G3D::ReferenceCountedObject.

Static Public Member Functions

static shared_ptr< Meshcreate ()
 

Public Attributes

Array< FacefaceArray
 
shared_ptr< ParseMTL::Materialmaterial
 Need a material instead of a material name because technically the material library can change during load. More...
 

Protected Member Functions

 Mesh ()
 

Static Protected Member Functions

template<class T , class ... ArgTypes>
static shared_ptr< T > createShared (ArgTypes &&... args)
 Like std::make_shared, but works for protected constructors. More...
 

Detailed Description

Part of a group that uses a single material.

Constructor & Destructor Documentation

◆ Mesh()

G3D::ParseOBJ::Mesh::Mesh ( )
inlineprotected

Member Function Documentation

◆ create()

static shared_ptr<Mesh> G3D::ParseOBJ::Mesh::create ( )
inlinestatic

◆ createShared()

template<class T , class ... ArgTypes>
static shared_ptr<T> G3D::ReferenceCountedObject::createShared ( ArgTypes &&...  args)
inlinestaticprotectedinherited

Like std::make_shared, but works for protected constructors.

Call as createShared<myclass>.

Member Data Documentation

◆ faceArray

Array<Face> G3D::ParseOBJ::Mesh::faceArray

◆ material

shared_ptr<ParseMTL::Material> G3D::ParseOBJ::Mesh::material

Need a material instead of a material name because technically the material library can change during load.


documentation generated on Wed Nov 24 2021 08:01:58 using doxygen 1.8.15