|
FCT
|
#include <Mesh.h>

Public 成员函数 | |
| StaticMesh (Context *context, const VertexLayout &layout) | |
| ~StaticMesh () | |
| template<typename... Args> | |
| void | addVertex (Args &&... args) |
| void | setIndices (const std::vector< IndexType > &indices) |
| void | create () |
| void | bind (RHI::CommandBuffer *cmdBuf) |
| void | draw (RHI::CommandBuffer *cmdBuf, uint32_t instanceCount=1) |
| void | updateVertexData () |
| void | updateIndexData () |
| VertexBuffer * | getVertexBuffer () const |
| size_t | getIndexCount () const |
| size_t | getVertexCount () const |
Private 属性 | |
| Context * | m_ctx |
| VertexLayout | m_vertexLayout |
| VertexBuffer * | m_cpuVertex |
| RHI::VertexBuffer * | m_gpuVertex |
| RHI::IndexBuffer * | m_gpuIndex |
| std::vector< IndexType > | m_cpuIndices |
|
inline |
|
inline |
|
inline |
|
inline |
| void FCT::StaticMesh< IndexType >::create | ( | ) |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |