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

#include <Vertex.h>

FCT::PixelLayout 的协作图:
Collaboration graph

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 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
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

详细描述

在文件 Vertex.h322 行定义.

构造及析构函数说明

◆ PixelLayout()

template<typename... Args>
FCT::PixelLayout::PixelLayout ( Args &&... args)
inlineconstexprnoexcept

在文件 Vertex.h328 行定义.

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

成员函数说明

◆ addElement()

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

在文件 Vertex.h332 行定义.

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

◆ addElements() [1/5]

void FCT::PixelLayout::addElements ( )
inlineconstexprprivatenoexcept

在文件 Vertex.h437 行定义.

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

◆ addElements() [2/5]

void FCT::PixelLayout::addElements ( const PixelLayout & layout)
inlineconstexprnoexcept

在文件 Vertex.h345 行定义.

函数调用图:

◆ addElements() [3/5]

template<typename... Rest>
void FCT::PixelLayout::addElements ( const VertexElement & element,
Rest &&... rest )
inlineconstexprprivatenoexcept

在文件 Vertex.h440 行定义.

函数调用图:

◆ addElements() [4/5]

void FCT::PixelLayout::addElements ( const VertexLayout & layout)
inlineconstexprnoexcept

在文件 Vertex.h339 行定义.

函数调用图:

◆ addElements() [5/5]

template<typename... Rest>
void FCT::PixelLayout::addElements ( const VertexLayout & layout,
Rest &&... rest )
inlineconstexprprivatenoexcept

在文件 Vertex.h446 行定义.

函数调用图:

◆ ensurePositionFirst()

void FCT::PixelLayout::ensurePositionFirst ( )
inlineconstexprnoexcept

在文件 Vertex.h409 行定义.

函数调用图:

◆ getElement()

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

在文件 Vertex.h355 行定义.

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

◆ getElementBySemantic()

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

在文件 Vertex.h386 行定义.

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

◆ getElementByType()

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

在文件 Vertex.h381 行定义.

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

◆ getElementCount()

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

在文件 Vertex.h351 行定义.

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

◆ getElementIndexBySemantic()

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

在文件 Vertex.h363 行定义.

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

◆ getElementIndexByType()

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

在文件 Vertex.h372 行定义.

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

◆ getElementOffset()

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

在文件 Vertex.h391 行定义.

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

◆ getElementOffsetBySemantic()

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

在文件 Vertex.h404 行定义.

函数调用图:

◆ getElementOffsetByType()

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

在文件 Vertex.h399 行定义.

函数调用图:

◆ getHash()

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

在文件 Vertex.h427 行定义.

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

◆ getStride()

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

在文件 Vertex.h359 行定义.

类成员变量说明

◆ m_elementCount

size_t FCT::PixelLayout::m_elementCount
private

在文件 Vertex.h453 行定义.

◆ m_elements

VertexElement FCT::PixelLayout::m_elements[MaxElements]
private

在文件 Vertex.h452 行定义.

◆ m_stride

size_t FCT::PixelLayout::m_stride
private

在文件 Vertex.h454 行定义.

◆ MaxElements

size_t FCT::PixelLayout::MaxElements = 64
staticconstexprprivate

在文件 Vertex.h451 行定义.


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