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

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.h306 行定义.

构造及析构函数说明

◆ PixelLayout()

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

在文件 Vertex.h312 行定义.

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

成员函数说明

◆ addElement()

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

在文件 Vertex.h316 行定义.

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

◆ addElements() [1/5]

void FCT::PixelLayout::addElements ( )
inlineconstexprprivatenoexcept

在文件 Vertex.h412 行定义.

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

◆ addElements() [2/5]

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

在文件 Vertex.h329 行定义.

函数调用图:

◆ addElements() [3/5]

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

在文件 Vertex.h415 行定义.

函数调用图:

◆ addElements() [4/5]

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

在文件 Vertex.h323 行定义.

函数调用图:

◆ addElements() [5/5]

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

在文件 Vertex.h421 行定义.

函数调用图:

◆ ensurePositionFirst()

void FCT::PixelLayout::ensurePositionFirst ( )
inlineconstexprnoexcept

在文件 Vertex.h393 行定义.

函数调用图:

◆ getElement()

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

在文件 Vertex.h339 行定义.

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

◆ getElementBySemantic()

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

在文件 Vertex.h370 行定义.

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

◆ getElementByType()

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

在文件 Vertex.h365 行定义.

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

◆ getElementCount()

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

在文件 Vertex.h335 行定义.

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

◆ getElementIndexBySemantic()

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

在文件 Vertex.h347 行定义.

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

◆ getElementIndexByType()

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

在文件 Vertex.h356 行定义.

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

◆ getElementOffset()

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

在文件 Vertex.h375 行定义.

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

◆ getElementOffsetBySemantic()

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

在文件 Vertex.h388 行定义.

函数调用图:

◆ getElementOffsetByType()

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

在文件 Vertex.h383 行定义.

函数调用图:

◆ getStride()

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

在文件 Vertex.h343 行定义.

类成员变量说明

◆ m_elementCount

size_t FCT::PixelLayout::m_elementCount
private

在文件 Vertex.h428 行定义.

◆ m_elements

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

在文件 Vertex.h427 行定义.

◆ m_stride

size_t FCT::PixelLayout::m_stride
private

在文件 Vertex.h429 行定义.

◆ MaxElements

size_t FCT::PixelLayout::MaxElements = 64
staticconstexprprivate

在文件 Vertex.h426 行定义.


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