Monad Engine da02fba2
> Undercity Codex_
Loading...
Searching...
No Matches
eng::VertexElement Struct Reference

#include <VertexLayout.h>

Public Attributes

GLuint index
 
GLuint size
 
GLuint type
 
uint32_t offset
 

Static Public Attributes

static constexpr int PositionIndex = 0
 
static constexpr int ColorIndex = 1
 
static constexpr int UVIndex = 2
 
static constexpr int NormalIndex = 3
 

Detailed Description

Definition at line 8 of file VertexLayout.h.

Member Data Documentation

◆ ColorIndex

constexpr int eng::VertexElement::ColorIndex = 1
staticconstexpr

Definition at line 16 of file VertexLayout.h.

Referenced by eng::Mesh::CreateBox(), and eng::ParseGLTFNode().

◆ index

GLuint eng::VertexElement::index

Definition at line 10 of file VertexLayout.h.

Referenced by eng::ParseGLTFNode().

◆ NormalIndex

constexpr int eng::VertexElement::NormalIndex = 3
staticconstexpr

◆ offset

uint32_t eng::VertexElement::offset

Definition at line 13 of file VertexLayout.h.

Referenced by eng::ParseGLTFNode().

◆ PositionIndex

constexpr int eng::VertexElement::PositionIndex = 0
staticconstexpr

◆ size

GLuint eng::VertexElement::size

Definition at line 11 of file VertexLayout.h.

Referenced by eng::ParseGLTFNode().

◆ type

GLuint eng::VertexElement::type

Definition at line 12 of file VertexLayout.h.

Referenced by eng::ParseGLTFNode().

◆ UVIndex

constexpr int eng::VertexElement::UVIndex = 2
staticconstexpr

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