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

#include <Uniform.h>

FCT::ConstLayout 的协作图:
Collaboration graph

Public 成员函数

constexpr ConstLayout () noexcept
template<typename... Args>
constexpr ConstLayout (const char *layoutName, Args &&... args) noexcept
constexpr const char * getName () const noexcept
constexpr UpdateFrequency getUpdateFrequency () const noexcept
constexpr ShaderStages getShaderStages () const noexcept
constexpr void addElement (const ConstElement &element) noexcept
bool operator== (const ConstLayout &other) const noexcept
constexpr size_t getElementCount () const noexcept
constexpr const ConstElementgetElement (size_t index) const noexcept
constexpr const ConstElementgetElement (ConstType type) const noexcept
constexpr size_t getTotalSize () const noexcept
constexpr int findElementIndex (const char *name) const noexcept
constexpr int findElementIndex (ConstType type) const noexcept
constexpr size_t getElementOffset (size_t index) const noexcept
constexpr size_t getElementOffset (const char *name) const noexcept
constexpr size_t getElementOffset (ConstType type) const noexcept

Private 成员函数

constexpr void processArgs () noexcept
template<typename... Rest>
constexpr void processArgs (UpdateFrequency frequency, Rest &&... rest) noexcept
template<typename... Rest>
constexpr void processArgs (const ConstElement &element, Rest &&... rest) noexcept
template<typename... Rest>
constexpr void processArgs (ShaderStages stages, Rest &&... rest) noexcept

Private 属性

const char * m_name = ""
ShaderStages m_shaderStages = ShaderStage::All
UpdateFrequency m_updateFrequency = UpdateFrequency::PerFrame
ConstElement m_elements [MaxElements] {}
size_t m_offsets [MaxElements] {}
size_t m_elementCount = 0
size_t m_size = 0

静态 Private 属性

static constexpr size_t MaxElements = 16

详细描述

在文件 Uniform.h268 行定义.

构造及析构函数说明

◆ ConstLayout() [1/2]

FCT::ConstLayout::ConstLayout ( )
inlineconstexprnoexcept

在文件 Uniform.h270 行定义.

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

◆ ConstLayout() [2/2]

template<typename... Args>
FCT::ConstLayout::ConstLayout ( const char * layoutName,
Args &&... args )
inlineconstexprnoexcept

在文件 Uniform.h280 行定义.

函数调用图:

成员函数说明

◆ addElement()

void FCT::ConstLayout::addElement ( const ConstElement & element)
inlineconstexprnoexcept

在文件 Uniform.h304 行定义.

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

◆ findElementIndex() [1/2]

int FCT::ConstLayout::findElementIndex ( const char * name) const
inlineconstexprnoexcept

在文件 Uniform.h347 行定义.

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

◆ findElementIndex() [2/2]

int FCT::ConstLayout::findElementIndex ( ConstType type) const
inlineconstexprnoexcept

在文件 Uniform.h356 行定义.

◆ getElement() [1/2]

const ConstElement & FCT::ConstLayout::getElement ( ConstType type) const
inlineconstexprnoexcept

在文件 Uniform.h337 行定义.

函数调用图:

◆ getElement() [2/2]

const ConstElement & FCT::ConstLayout::getElement ( size_t index) const
inlineconstexprnoexcept

在文件 Uniform.h333 行定义.

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

◆ getElementCount()

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

在文件 Uniform.h331 行定义.

◆ getElementOffset() [1/3]

size_t FCT::ConstLayout::getElementOffset ( const char * name) const
inlineconstexprnoexcept

在文件 Uniform.h369 行定义.

函数调用图:

◆ getElementOffset() [2/3]

size_t FCT::ConstLayout::getElementOffset ( ConstType type) const
inlineconstexprnoexcept

在文件 Uniform.h374 行定义.

函数调用图:

◆ getElementOffset() [3/3]

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

在文件 Uniform.h365 行定义.

◆ getName()

const char * FCT::ConstLayout::getName ( ) const
inlineconstexprnoexcept

在文件 Uniform.h286 行定义.

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

◆ getShaderStages()

ShaderStages FCT::ConstLayout::getShaderStages ( ) const
inlineconstexprnoexcept

在文件 Uniform.h290 行定义.

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

◆ getTotalSize()

size_t FCT::ConstLayout::getTotalSize ( ) const
inlineconstexprnoexcept

在文件 Uniform.h342 行定义.

◆ getUpdateFrequency()

UpdateFrequency FCT::ConstLayout::getUpdateFrequency ( ) const
inlineconstexprnoexcept

在文件 Uniform.h288 行定义.

◆ operator==()

bool FCT::ConstLayout::operator== ( const ConstLayout & other) const
inlinenoexcept

在文件 Uniform.h314 行定义.

函数调用图:

◆ processArgs() [1/4]

void FCT::ConstLayout::processArgs ( )
inlineconstexprprivatenoexcept

在文件 Uniform.h380 行定义.

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

◆ processArgs() [2/4]

template<typename... Rest>
void FCT::ConstLayout::processArgs ( const ConstElement & element,
Rest &&... rest )
inlineconstexprprivatenoexcept

在文件 Uniform.h391 行定义.

函数调用图:

◆ processArgs() [3/4]

template<typename... Rest>
void FCT::ConstLayout::processArgs ( ShaderStages stages,
Rest &&... rest )
inlineconstexprprivatenoexcept

在文件 Uniform.h397 行定义.

函数调用图:

◆ processArgs() [4/4]

template<typename... Rest>
void FCT::ConstLayout::processArgs ( UpdateFrequency frequency,
Rest &&... rest )
inlineconstexprprivatenoexcept

在文件 Uniform.h385 行定义.

函数调用图:

类成员变量说明

◆ m_elementCount

size_t FCT::ConstLayout::m_elementCount = 0
private

在文件 Uniform.h408 行定义.

◆ m_elements

ConstElement FCT::ConstLayout::m_elements[MaxElements] {}
private

在文件 Uniform.h406 行定义.

◆ m_name

const char* FCT::ConstLayout::m_name = ""
private

在文件 Uniform.h403 行定义.

◆ m_offsets

size_t FCT::ConstLayout::m_offsets[MaxElements] {}
private

在文件 Uniform.h407 行定义.

◆ m_shaderStages

ShaderStages FCT::ConstLayout::m_shaderStages = ShaderStage::All
private

在文件 Uniform.h404 行定义.

◆ m_size

size_t FCT::ConstLayout::m_size = 0
private

在文件 Uniform.h409 行定义.

◆ m_updateFrequency

UpdateFrequency FCT::ConstLayout::m_updateFrequency = UpdateFrequency::PerFrame
private

在文件 Uniform.h405 行定义.

◆ MaxElements

size_t FCT::ConstLayout::MaxElements = 16
staticconstexprprivate

在文件 Uniform.h402 行定义.


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