tec::Mesh

#include <mesh.hpp>

Public Functions

Name
~Mesh()
void resize(size_t n)
size_t vert_count() const

Public Attributes

Name
std::vector< vertex::Vertex > base_verts
std::vector< glm::vec4 > vert_color
std::vector< vertex::WeightData > vert_weight
bool has_color
bool has_weight
std::vector< ObjectGroup * > object_groups

Public Functions Documentation

function ~Mesh

inline ~Mesh()

function resize

inline void resize(
    size_t n
)

function vert_count

inline size_t vert_count() const

Public Attributes Documentation

variable base_verts

std::vector< vertex::Vertex > base_verts;

variable vert_color

std::vector< glm::vec4 > vert_color;

variable vert_weight

std::vector< vertex::WeightData > vert_weight;

variable has_color

bool has_color {false};

variable has_weight

bool has_weight {false};

variable object_groups

std::vector< ObjectGroup * > object_groups;

Updated on 2022-07-24 at 19:27:35 +0000