CoriEngine
Loading...
Searching...
No Matches
Cori::Graphics::VBElement Class Reference

#include <Buffers.hpp>

Public Member Functions

 VBElement (const ShaderDataType type, const std::string &name, const uint32_t divisor=0, const bool normalized=false)
size_t GetComponentCount () const
bool operator== (const VBElement &other) const
bool operator!= (const VBElement &other) const
 VBElement (const VBElement &other)
 VBElement (VBElement &&other) noexcept
VBElementoperator= (VBElement &&other) noexcept

Public Attributes

std::string m_Name
ShaderDataType m_Type
uint32_t m_Divisor
bool m_Normalized
uint32_t m_Size
uint32_t m_Offset {0}

Detailed Description

Definition at line 67 of file Buffers.hpp.

Constructor & Destructor Documentation

◆ VBElement() [1/3]

Cori::Graphics::VBElement::VBElement ( const ShaderDataType type,
const std::string & name,
const uint32_t divisor = 0,
const bool normalized = false )
inline

Definition at line 69 of file Buffers.hpp.

Here is the call graph for this function:

◆ VBElement() [2/3]

Cori::Graphics::VBElement::VBElement ( const VBElement & other)
inline

Definition at line 88 of file Buffers.hpp.

Here is the call graph for this function:

◆ VBElement() [3/3]

Cori::Graphics::VBElement::VBElement ( VBElement && other)
inlinenoexcept

Definition at line 97 of file Buffers.hpp.

Here is the call graph for this function:

Member Function Documentation

◆ GetComponentCount()

size_t Cori::Graphics::VBElement::GetComponentCount ( ) const
inline

Definition at line 78 of file Buffers.hpp.

Here is the call graph for this function:

◆ operator!=()

bool Cori::Graphics::VBElement::operator!= ( const VBElement & other) const
inline

Definition at line 84 of file Buffers.hpp.

Here is the call graph for this function:

◆ operator=()

VBElement & Cori::Graphics::VBElement::operator= ( VBElement && other)
inlinenoexcept

Definition at line 106 of file Buffers.hpp.

Here is the call graph for this function:

◆ operator==()

bool Cori::Graphics::VBElement::operator== ( const VBElement & other) const
inline

Definition at line 80 of file Buffers.hpp.

Here is the call graph for this function:

Member Data Documentation

◆ m_Divisor

uint32_t Cori::Graphics::VBElement::m_Divisor

Definition at line 73 of file Buffers.hpp.

◆ m_Name

std::string Cori::Graphics::VBElement::m_Name

Definition at line 71 of file Buffers.hpp.

◆ m_Normalized

bool Cori::Graphics::VBElement::m_Normalized

Definition at line 74 of file Buffers.hpp.

◆ m_Offset

uint32_t Cori::Graphics::VBElement::m_Offset {0}

Definition at line 76 of file Buffers.hpp.

◆ m_Size

uint32_t Cori::Graphics::VBElement::m_Size

Definition at line 75 of file Buffers.hpp.

◆ m_Type

ShaderDataType Cori::Graphics::VBElement::m_Type

Definition at line 72 of file Buffers.hpp.


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