3D Graphics Engine for ESP32
 
Loading...
Searching...
No Matches
Ragot::mesh_info_t Struct Reference

Represents information about a mesh. More...

#include <CommonTypes.hpp>

Collaboration diagram for Ragot::mesh_info_t:
Collaboration graph

Public Member Functions

 mesh_info_t ()=default
 
 mesh_info_t (std::vector< coordinates_t > &coords, render_flag_t flag)
 

Public Attributes

size_t vertex_amount = 0
 
render_flag_t render_flag = RENDER_NONE
 
std::vector< coordinates_tcoordinates
 

Detailed Description

Represents information about a mesh.

This structure holds the number of vertices, rendering flags, and a vector of coordinates for a mesh.

Constructor & Destructor Documentation

◆ mesh_info_t() [1/2]

Ragot::mesh_info_t::mesh_info_t ( )
default

◆ mesh_info_t() [2/2]

Ragot::mesh_info_t::mesh_info_t ( std::vector< coordinates_t > & coords,
render_flag_t flag )
inline

Member Data Documentation

◆ coordinates

std::vector< coordinates_t > Ragot::mesh_info_t::coordinates

◆ render_flag

render_flag_t Ragot::mesh_info_t::render_flag = RENDER_NONE

◆ vertex_amount

size_t Ragot::mesh_info_t::vertex_amount = 0

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