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

#include <Vertex.h>

FCT::Vertex 的协作图:
Collaboration graph

Public 成员函数

template<typename T>
T & getAttribute (VtxType type) noexcept
template<typename T>
T & getAttribute (const char *semantic) noexcept
template<typename T>
void setAttribute (VtxType type, const T &value) noexcept
template<typename T>
void setAttribute (size_t elementIndex, const T &value) noexcept
template<typename T>
void setAttribute (const char *semantic, const T &value) noexcept
uint8_t * getData () noexcept
const uint8_t * getData () const noexcept
const VertexLayoutgetLayout () const noexcept

Private 成员函数

 Vertex (uint8_t *data, const VertexLayout &layout) noexcept

Private 属性

uint8_t * m_data
const VertexLayoutm_layout

友元

class VertexBuffer

详细描述

在文件 Vertex.h433 行定义.

构造及析构函数说明

◆ Vertex()

FCT::Vertex::Vertex ( uint8_t * data,
const VertexLayout & layout )
inlineprivatenoexcept

在文件 Vertex.h496 行定义.

成员函数说明

◆ getAttribute() [1/2]

template<typename T>
T & FCT::Vertex::getAttribute ( const char * semantic)
inlinenoexcept

在文件 Vertex.h448 行定义.

◆ getAttribute() [2/2]

template<typename T>
T & FCT::Vertex::getAttribute ( VtxType type)
inlinenoexcept

在文件 Vertex.h437 行定义.

◆ getData() [1/2]

const uint8_t * FCT::Vertex::getData ( ) const
inlinenoexcept

在文件 Vertex.h487 行定义.

◆ getData() [2/2]

uint8_t * FCT::Vertex::getData ( )
inlinenoexcept

在文件 Vertex.h483 行定义.

◆ getLayout()

const VertexLayout & FCT::Vertex::getLayout ( ) const
inlinenoexcept

在文件 Vertex.h491 行定义.

◆ setAttribute() [1/3]

template<typename T>
void FCT::Vertex::setAttribute ( const char * semantic,
const T & value )
inlinenoexcept

在文件 Vertex.h475 行定义.

◆ setAttribute() [2/3]

template<typename T>
void FCT::Vertex::setAttribute ( size_t elementIndex,
const T & value )
inlinenoexcept

在文件 Vertex.h467 行定义.

◆ setAttribute() [3/3]

template<typename T>
void FCT::Vertex::setAttribute ( VtxType type,
const T & value )
inlinenoexcept

在文件 Vertex.h459 行定义.

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

◆ VertexBuffer

friend class VertexBuffer
friend

在文件 Vertex.h434 行定义.

类成员变量说明

◆ m_data

uint8_t* FCT::Vertex::m_data
private

在文件 Vertex.h499 行定义.

◆ m_layout

const VertexLayout& FCT::Vertex::m_layout
private

在文件 Vertex.h500 行定义.


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