Lysa  0.0
Lysa 3D Engine
MeshSurface Struct Reference

Detailed Description

A Mesh surface, with counterclockwise triangles

Public Member Functions

 MeshSurface (uint32 firstIndex, uint32 count)
 
bool operator== (const MeshSurface &other) const
 

Public Attributes

uint32 firstIndex {0}
 Index of the first vertex of the surface. More...
 
uint32 indexCount {0}
 Number of vertices. More...
 
std::shared_ptr< Materialmaterial {}
 Material. More...
 

Friends

bool operator== (const std::shared_ptr< MeshSurface > &a, const std::shared_ptr< MeshSurface > &b)
 

Constructor & Destructor Documentation

MeshSurface ( uint32  firstIndex,
uint32  count 
)

Member Function Documentation

bool operator== ( const MeshSurface &  other) const
inline

Friends And Related Function Documentation

bool operator== ( const std::shared_ptr< MeshSurface > &  a,
const std::shared_ptr< MeshSurface > &  b 
)
friend

Member Data Documentation

uint32 firstIndex {0}

Index of the first vertex of the surface.

uint32 indexCount {0}

Number of vertices.

std::shared_ptr<Material> material {}