FCT
|
#include <Vertex.h>
Public 成员函数 | |
template<typename... Elements> | |
constexpr | VertexLayout (const Elements &... elements) noexcept |
constexpr void | addElement (const VertexElement &element) noexcept |
constexpr size_t | getElementCount () const noexcept |
constexpr const VertexElement & | getElement (size_t index) const noexcept |
constexpr size_t | getStride () const noexcept |
constexpr int | getElementIndexBySemantic (const char *semantic) const noexcept |
constexpr int | getElementIndexByType (VtxType type) const noexcept |
constexpr const VertexElement * | getElementByType (VtxType type) const noexcept |
constexpr const VertexElement * | getElementBySemantic (const char *semantic) const noexcept |
constexpr size_t | getElementOffset (size_t index) const noexcept |
constexpr size_t | getElementOffsetByType (VtxType type) const noexcept |
constexpr size_t | getElementOffsetBySemantic (const char *semantic) const noexcept |
Private 属性 | |
VertexElement | m_elements [MaxElements] {} |
size_t | m_elementCount = 0 |
size_t | m_stride = 0 |
静态 Private 属性 | |
static constexpr size_t | MaxElements = 64 |
|
inlineconstexprnoexcept |
|
inlineconstexprnoexcept |
|
inlineconstexprnoexcept |
|
inlineconstexprnoexcept |
|
inlineconstexprnoexcept |
|
inlineconstexprnoexcept |
|
inlineconstexprnoexcept |
|
inlineconstexprnoexcept |
|
inlineconstexprnoexcept |
|
inlineconstexprnoexcept |
|
inlineconstexprnoexcept |
|
private |