Zen 0.3.0
Loading...
Searching...
No Matches
Zen::BufferElement Struct Reference

Public Member Functions

 BufferElement (ShaderDataType type, const std::string &name, bool isNormalized=false)
uint32_t GetComponentCount () const

Public Attributes

std::string name
ShaderDataType type
uint32_t size
size_t offset
bool isNormalized

Detailed Description

Definition at line 52 of file ZEN_Buffer.h.

Constructor & Destructor Documentation

◆ BufferElement()

Zen::BufferElement::BufferElement ( ShaderDataType type,
const std::string & name,
bool isNormalized = false )
inline

Definition at line 61 of file ZEN_Buffer.h.

Member Function Documentation

◆ GetComponentCount()

uint32_t Zen::BufferElement::GetComponentCount ( ) const
inline

Definition at line 65 of file ZEN_Buffer.h.

Member Data Documentation

◆ isNormalized

bool Zen::BufferElement::isNormalized

Definition at line 57 of file ZEN_Buffer.h.

◆ name

std::string Zen::BufferElement::name

Definition at line 53 of file ZEN_Buffer.h.

◆ offset

size_t Zen::BufferElement::offset

Definition at line 56 of file ZEN_Buffer.h.

◆ size

uint32_t Zen::BufferElement::size

Definition at line 55 of file ZEN_Buffer.h.

◆ type

ShaderDataType Zen::BufferElement::type

Definition at line 54 of file ZEN_Buffer.h.


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