VEX Engine
Retro looking game engine made in vulkan mostly because i wanted to understand it better.
Loading...
Searching...
No Matches
vex::Submesh Struct Reference

Submesh structure for mesh data, its made like this cause some file formats hold multiple meshes in one file, but engine supports only one mesh per file. More...

#include <Mesh.hpp>

Public Attributes

std::vector< Vertexvertices
std::vector< uint32_t > indices
texture_asset_path texturePath
std::vector< glm::vec3 > triangleCenters

Detailed Description

Submesh structure for mesh data, its made like this cause some file formats hold multiple meshes in one file, but engine supports only one mesh per file.

Definition at line 33 of file Mesh.hpp.

Member Data Documentation

◆ indices

std::vector<uint32_t> vex::Submesh::indices

Definition at line 35 of file Mesh.hpp.

◆ texturePath

texture_asset_path vex::Submesh::texturePath

Definition at line 36 of file Mesh.hpp.

◆ triangleCenters

std::vector<glm::vec3> vex::Submesh::triangleCenters

Definition at line 37 of file Mesh.hpp.

◆ vertices

std::vector<Vertex> vex::Submesh::vertices

Definition at line 34 of file Mesh.hpp.


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