Monad Engine da02fba2
> Undercity Codex_
Loading...
Searching...
No Matches
mnd::VertexLayout Struct Reference

Complete description of how vertex data is packed in a VBO. More...

#include <VertexLayout.h>

+ Collaboration diagram for mnd::VertexLayout:

Public Attributes

std::vector< VertexElementelements
 Ordered list of vertex attributes.
 
uint32_t stride = 0
 Total byte size of one vertex.
 

Detailed Description

Complete description of how vertex data is packed in a VBO.

Holds all VertexElements for one mesh type plus the total stride (bytes between the start of consecutive vertices). Created by Builder factory functions and stored inside Mesh until the mesh is destroyed.

Definition at line 67 of file VertexLayout.h.

Member Data Documentation

◆ elements

◆ stride


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