SleakEngine 1.0.0
C++23 multi-backend game engine
Loading...
Searching...
No Matches
Sleak::VertexAttribute Struct Reference

#include <VertexLayout.hpp>

Public Attributes

VertexAttribFormat format
uint32_t location
uint32_t offset

Detailed Description

One attribute: shader location, component format, byte offset in the vertex.

Definition at line 20 of file VertexLayout.hpp.

Member Data Documentation

◆ format

VertexAttribFormat Sleak::VertexAttribute::format

Definition at line 22 of file VertexLayout.hpp.

◆ location

uint32_t Sleak::VertexAttribute::location

Definition at line 21 of file VertexLayout.hpp.

◆ offset

uint32_t Sleak::VertexAttribute::offset

Definition at line 23 of file VertexLayout.hpp.