Estella 0.113.0
A fast 2D and 3D game engine powered by WebAssembly and ECS
Loading...
Searching...
No Matches
esengine::GfxVertexAttribute Struct Reference

#include <GfxEnums.hpp>

Public Attributes

u32 location = 0
u8 components = 4
 1..4
GfxDataType type = GfxDataType::Float
bool normalized = false
u32 offset = 0
 Byte offset within one element of its buffer slot.
u8 bufferSlot = 0

Detailed Description

Definition at line 220 of file GfxEnums.hpp.

Member Data Documentation

◆ bufferSlot

u8 esengine::GfxVertexAttribute::bufferSlot = 0

◆ components

u8 esengine::GfxVertexAttribute::components = 4

◆ location

u32 esengine::GfxVertexAttribute::location = 0

◆ normalized

bool esengine::GfxVertexAttribute::normalized = false

◆ offset

u32 esengine::GfxVertexAttribute::offset = 0

Byte offset within one element of its buffer slot.

Definition at line 225 of file GfxEnums.hpp.

Referenced by esengine::CustomGeometry::init(), and esengine::resource::MeshArena::sameLayout().

◆ type

GfxDataType esengine::GfxVertexAttribute::type = GfxDataType::Float

The documentation for this struct was generated from the following file:
  • /home/runner/work/estella/estella/src/esengine/renderer/rhi/GfxEnums.hpp