CeresEngine 0.2.0
A game development framework
Loading...
Searching...
No Matches
CeresEngine::MeshGenerator::AnyMesh Class Reference

A type erasing container that can store any mesh. More...

#include <CeresEngine/Mesh/Generator/AnyMesh.hpp>

Classes

class  Base
 
class  Derived
 

Public Member Functions

template<typename Mesh >
 AnyMesh (Mesh mesh)
 
 AnyMesh (const AnyMesh &that)
 
AnyMeshoperator= (const AnyMesh &that)
 
 AnyMesh (AnyMesh &&)=default
 
AnyMeshoperator= (AnyMesh &&)=default
 
AnyGenerator< Triangletriangles () const noexcept
 
AnyGenerator< MeshVertexvertices () const noexcept
 

Private Attributes

UPtr< BasemBase
 

Detailed Description

A type erasing container that can store any mesh.

Constructor & Destructor Documentation

◆ AnyMesh() [1/3]

template<typename Mesh >
CeresEngine::MeshGenerator::AnyMesh::AnyMesh ( Mesh  mesh)
inline

◆ AnyMesh() [2/3]

CeresEngine::MeshGenerator::AnyMesh::AnyMesh ( const AnyMesh that)

◆ AnyMesh() [3/3]

CeresEngine::MeshGenerator::AnyMesh::AnyMesh ( AnyMesh &&  )
default

Member Function Documentation

◆ operator=() [1/2]

AnyMesh & CeresEngine::MeshGenerator::AnyMesh::operator= ( AnyMesh &&  )
default

◆ operator=() [2/2]

AnyMesh & CeresEngine::MeshGenerator::AnyMesh::operator= ( const AnyMesh that)

◆ triangles()

AnyGenerator< Triangle > CeresEngine::MeshGenerator::AnyMesh::triangles ( ) const
noexcept

◆ vertices()

AnyGenerator< MeshVertex > CeresEngine::MeshGenerator::AnyMesh::vertices ( ) const
noexcept

Member Data Documentation

◆ mBase

UPtr<Base> CeresEngine::MeshGenerator::AnyMesh::mBase
private

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