igraphic 0.2.0
Contrats graphiques chargeables : IGraphic2Module / IGraphic3Module
Loading...
Searching...
No Matches
graphic::IMesh Interface Referenceabstract

Loaded geometry (vertices/faces), independent of any IModel instance built from it - deleting every IModel built from a mesh does not delete the mesh, only deleteMesh() does. Many IModel instances (e.g. identical enemies) can share one mesh, each with its own position/rotation/size/animation state. More...

#include <IMesh.hpp>

Public Member Functions

virtual ~IMesh ()=default
 
virtual bool isReady () const =0
 notice if the mesh is ready
 

Detailed Description

Loaded geometry (vertices/faces), independent of any IModel instance built from it - deleting every IModel built from a mesh does not delete the mesh, only deleteMesh() does. Many IModel instances (e.g. identical enemies) can share one mesh, each with its own position/rotation/size/animation state.

Constructor & Destructor Documentation

◆ ~IMesh()

virtual graphic::IMesh::~IMesh ( )
virtualdefault

Member Function Documentation

◆ isReady()

virtual bool graphic::IMesh::isReady ( ) const
pure virtual

notice if the mesh is ready

Returns
bool

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