SaturnRingLibrary 0.9.2
SGL wrapper
Loading...
Searching...
No Matches
SRL::Types::MeshData Struct Reference

Detailed Description

3D mesh data

#include <srl_mesh.hpp>

Inheritance diagram for SRL::Types::MeshData:
SRL::SGL::SglType< MeshData, PDATA > SRL::Types::Mesh

Public Member Functions

constexpr MeshData ()
 Construct a new empty mesh data object.
const PDATA * SglConstPtr () const
 Get pointer to SGL type.
PDATA * SglPtr ()
 Get pointer to SGL type.

Public Attributes

AttributeAttributes = nullptr
 Face attributes.
size_t FaceCount = 0
 Number of faces.
PolygonFaces = nullptr
 Mesh faces.
size_t VertexCount = 0
 Number of vertices of the mesh.
SRL::Math::Types::Vector3DVertices = nullptr
 Vertices of the mesh.