|
FCT
|
#include <Vertex.h>
Public 成员函数 | |
| template<typename... Args> | |
| constexpr | PixelLayout (Args &&... args) noexcept |
| constexpr void | addElement (const VertexElement &element) noexcept |
| constexpr void | addElements (const VertexLayout &layout) noexcept |
| constexpr void | addElements (const PixelLayout &layout) 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 |
| constexpr void | ensurePositionFirst () noexcept |
| size_t | getHash () const noexcept |
Private 成员函数 | |
| constexpr void | addElements () noexcept |
| template<typename... Rest> | |
| constexpr void | addElements (const VertexElement &element, Rest &&... rest) noexcept |
| template<typename... Rest> | |
| constexpr void | addElements (const VertexLayout &layout, Rest &&... rest) noexcept |
Private 属性 | |
| VertexElement | m_elements [MaxElements] |
| size_t | m_elementCount |
| size_t | m_stride |
静态 Private 属性 | |
| static constexpr size_t | MaxElements = 64 |
|
inlineconstexprnoexcept |
|
inlineconstexprnoexcept |
|
inlineconstexprprivatenoexcept |
|
inlineconstexprnoexcept |
|
inlineconstexprprivatenoexcept |
|
inlineconstexprnoexcept |
|
inlineconstexprprivatenoexcept |
|
inlineconstexprnoexcept |
|
inlineconstexprnoexcept |
|
inlineconstexprnoexcept |
|
inlineconstexprnoexcept |
|
inlineconstexprnoexcept |
|
inlineconstexprnoexcept |
|
inlineconstexprnoexcept |
|
inlineconstexprnoexcept |
|
inlineconstexprnoexcept |
|
inlineconstexprnoexcept |
|
inlinenoexcept |
|
private |