P-E-R-R-Y
Utilitaires, contrats et vendors du moteur, en une seule doc
Loading...
Searching...
No Matches
RayMesh Class Reference

Raylib Mesh class - owns the loaded geometry (raylib's own Model struct is the mesh+material data, not positioned). Many RayModel instances can reference one RayMesh; deleting a model never touches the mesh. More...

#include <RayMesh.hpp>

Inheritance diagram for RayMesh:
Collaboration diagram for RayMesh:

Public Member Functions

 RayMesh (std::string path)
 ~RayMesh ()
bool isReady () const override
 notice if the mesh is ready
raylib::Model & handle ()
raylib::BoundingBox boundingBox () const
Public Member Functions inherited from graphic::IMesh
virtual ~IMesh ()=default

Detailed Description

Raylib Mesh class - owns the loaded geometry (raylib's own Model struct is the mesh+material data, not positioned). Many RayModel instances can reference one RayMesh; deleting a model never touches the mesh.

Constructor & Destructor Documentation

◆ RayMesh()

RayMesh::RayMesh ( std::string path)
inline

◆ ~RayMesh()

RayMesh::~RayMesh ( )
inline

Member Function Documentation

◆ boundingBox()

raylib::BoundingBox RayMesh::boundingBox ( ) const
inline

◆ handle()

raylib::Model & RayMesh::handle ( )
inline

◆ isReady()

bool RayMesh::isReady ( ) const
inlineoverridevirtual

notice if the mesh is ready

Returns
bool

Implements graphic::IMesh.


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