![]() |
MAGE
v0.171.0
Matthias Advanced Game Engine
|
#include <mesh_descriptor.hpp>
Public Member Functions | |
constexpr | MeshDescriptor (bool invert_handedness=false, bool clockwise_order=true) noexcept |
constexpr | MeshDescriptor (const MeshDescriptor &desc) noexcept=default |
constexpr | MeshDescriptor (MeshDescriptor &&desc) noexcept=default |
~MeshDescriptor ()=default | |
MeshDescriptor & | operator= (const MeshDescriptor &desc) noexcept=default |
MeshDescriptor & | operator= (MeshDescriptor &&desc) noexcept=default |
constexpr bool | InvertHandness () const noexcept |
constexpr bool | ClockwiseOrder () const noexcept |
Private Attributes | |
bool | m_invert_handedness |
bool | m_clockwise_order |
A class of mesh descriptors.
VertexT | The vertex type. |
IndexT | The index type. |
|
explicitnoexcept |
Constructs a mesh descriptor.
[in] | invert_handedness | A flag indicating whether the mesh coordinate system handness should be inverted. |
[in] | clockwise_order | A flag indicating whether the face vertices should be defined in clockwise order or not (i.e. counterclockwise order). |
|
defaultnoexcept |
Constructs a mesh descriptor from the given mesh descriptor.
[in] | desc | A reference to the mesh descriptor to copy. |
|
defaultnoexcept |
Constructs a mesh descriptor by moving the given mesh descriptor.
[in] | desc | A reference to the mesh descriptor to move. |
|
default |
Destructs this mesh descriptor.
|
noexcept |
Checks whether the face vertices should be defined in clockwise order or not (i.e. counterclockwise order) according to this mesh descriptor.
true
if the face vertices should be defined in clockwise order. false
otherwise.
|
noexcept |
Checks whether the mesh coordinate system handness should be inverted or not according to this mesh descriptor.
true
if the mesh coordinate system handness should be inverted. false
otherwise.
|
defaultnoexcept |
Copies the given mesh descriptor to this mesh descriptor.
[in] | desc | A reference to the mesh descriptor to copy. |
|
defaultnoexcept |
Moves the given mesh descriptor to this mesh descriptor.
[in] | desc | A reference to the mesh descriptor to move. |
|
private |
A flag indicating whether the face vertices should be defined in clockwise order or not (i.e. counterclockwise order) for this mesh descriptor.
|
private |
A flag indicating whether the mesh coordinate system handness should be inverted or not for this mesh descriptor.