FCT
载入中...
搜索中...
未找到
FCT::VertexLayout类 参考

#include <Vertex.h>

FCT::VertexLayout 的协作图:
Collaboration graph

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 VertexElementgetElement (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 VertexElementgetElementByType (VtxType type) const noexcept
constexpr const VertexElementgetElementBySemantic (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
size_t getHash () const noexcept

Private 属性

VertexElement m_elements [MaxElements] {}
size_t m_elementCount = 0
size_t m_stride = 0

静态 Private 属性

static constexpr size_t MaxElements = 64

详细描述

在文件 Vertex.h237 行定义.

构造及析构函数说明

◆ VertexLayout()

template<typename... Elements>
FCT::VertexLayout::VertexLayout ( const Elements &... elements)
inlineconstexprnoexcept

在文件 Vertex.h241 行定义.

函数调用图:

成员函数说明

◆ addElement()

void FCT::VertexLayout::addElement ( const VertexElement & element)
inlineconstexprnoexcept

在文件 Vertex.h244 行定义.

这是这个函数的调用关系图:

◆ getElement()

const VertexElement & FCT::VertexLayout::getElement ( size_t index) const
inlineconstexprnoexcept

在文件 Vertex.h255 行定义.

这是这个函数的调用关系图:

◆ getElementBySemantic()

const VertexElement * FCT::VertexLayout::getElementBySemantic ( const char * semantic) const
inlineconstexprnoexcept

在文件 Vertex.h286 行定义.

函数调用图:

◆ getElementByType()

const VertexElement * FCT::VertexLayout::getElementByType ( VtxType type) const
inlineconstexprnoexcept

在文件 Vertex.h281 行定义.

函数调用图:

◆ getElementCount()

size_t FCT::VertexLayout::getElementCount ( ) const
inlineconstexprnoexcept

在文件 Vertex.h251 行定义.

这是这个函数的调用关系图:

◆ getElementIndexBySemantic()

int FCT::VertexLayout::getElementIndexBySemantic ( const char * semantic) const
inlineconstexprnoexcept

在文件 Vertex.h263 行定义.

函数调用图:
这是这个函数的调用关系图:

◆ getElementIndexByType()

int FCT::VertexLayout::getElementIndexByType ( VtxType type) const
inlineconstexprnoexcept

在文件 Vertex.h272 行定义.

这是这个函数的调用关系图:

◆ getElementOffset()

size_t FCT::VertexLayout::getElementOffset ( size_t index) const
inlineconstexprnoexcept

在文件 Vertex.h291 行定义.

这是这个函数的调用关系图:

◆ getElementOffsetBySemantic()

size_t FCT::VertexLayout::getElementOffsetBySemantic ( const char * semantic) const
inlineconstexprnoexcept

在文件 Vertex.h304 行定义.

函数调用图:

◆ getElementOffsetByType()

size_t FCT::VertexLayout::getElementOffsetByType ( VtxType type) const
inlineconstexprnoexcept

在文件 Vertex.h299 行定义.

函数调用图:

◆ getHash()

size_t FCT::VertexLayout::getHash ( ) const
inlinenoexcept

在文件 Vertex.h308 行定义.

函数调用图:
这是这个函数的调用关系图:

◆ getStride()

size_t FCT::VertexLayout::getStride ( ) const
inlineconstexprnoexcept

在文件 Vertex.h259 行定义.

类成员变量说明

◆ m_elementCount

size_t FCT::VertexLayout::m_elementCount = 0
private

在文件 Vertex.h319 行定义.

◆ m_elements

VertexElement FCT::VertexLayout::m_elements[MaxElements] {}
private

在文件 Vertex.h318 行定义.

◆ m_stride

size_t FCT::VertexLayout::m_stride = 0
private

在文件 Vertex.h320 行定义.

◆ MaxElements

size_t FCT::VertexLayout::MaxElements = 64
staticconstexprprivate

在文件 Vertex.h317 行定义.


该类的文档由以下文件生成: