FCT
|
#include <CommandBufferGraph.h>
类 | |
struct | NodeRef |
Public 成员函数 | |
CommandBufferGraph (Device *device) | |
CommandBufferToken | addBuffer (const std::vector< NodeRef > &predecessors, const std::vector< NodeRef > &successors) |
void | maxFrameInFlight (uint32_t max) |
void | swapBuffer () |
RHI::CommandBuffer * | getCommandBuffer (CommandBufferToken token) const |
Private 成员函数 | |
CommandBufferNodes::InputFromWindow * | getOrCreateWindowInputNode (Window *window) |
CommandBufferNodes::OutputToWindow * | getOrCreateWindowOutputNode (Window *window) |
void | connectPredecessors (CommandBufferNodes::CommandBuffer *buffer, const std::vector< NodeRef > &predecessors) |
void | connectSuccessors (CommandBufferNodes::CommandBuffer *buffer, const std::vector< NodeRef > &successors) |
void | connectWindowPredecessor (CommandBufferNodes::CommandBuffer *buffer, Window *window) |
void | connectWindowSuccessor (CommandBufferNodes::CommandBuffer *buffer, Window *window) |
Private 属性 | |
RHI::CommandPool * | m_cmdPool |
SemaphorePool * | m_semaphorePool |
FencePool * | m_fencePool |
std::vector< std::unique_ptr< CommandBufferNodes::NodeBase > > | m_nodes |
std::vector< std::unique_ptr< CommandBufferEdges::EdgeBase > > | m_edges |
std::unordered_map< Window *, CommandBufferNodes::InputFromWindow * > | m_windowInputNodes |
std::unordered_map< Window *, CommandBufferNodes::OutputToWindow * > | m_windowOutputNodes |
std::set< Window * > | m_windows |
uint32_t | m_maxFrameInFlight = 0 |
Device * | m_device |
size_t | m_frameIndex = 0 |
在文件 CommandBufferGraph.h 第 260 行定义.
FCT::CommandBufferGraph::CommandBufferGraph | ( | Device * | device | ) |
CommandBufferToken FCT::CommandBufferGraph::addBuffer | ( | const std::vector< NodeRef > & | predecessors, |
const std::vector< NodeRef > & | successors ) |
|
private |
|
private |
|
private |
|
private |
RHI::CommandBuffer * FCT::CommandBufferGraph::getCommandBuffer | ( | CommandBufferToken | token | ) | const |
|
private |
|
private |
void FCT::CommandBufferGraph::maxFrameInFlight | ( | uint32_t | max | ) |
在文件 CommandBufferGraph.cpp 第 303 行定义.
void FCT::CommandBufferGraph::swapBuffer | ( | ) |
在文件 CommandBufferGraph.cpp 第 317 行定义.
|
private |
在文件 CommandBufferGraph.h 第 263 行定义.
|
private |
在文件 CommandBufferGraph.h 第 274 行定义.
|
private |
在文件 CommandBufferGraph.h 第 268 行定义.
|
private |
在文件 CommandBufferGraph.h 第 265 行定义.
|
private |
在文件 CommandBufferGraph.h 第 307 行定义.
|
private |
在文件 CommandBufferGraph.h 第 273 行定义.
|
private |
在文件 CommandBufferGraph.h 第 267 行定义.
|
private |
在文件 CommandBufferGraph.h 第 264 行定义.
|
private |
在文件 CommandBufferGraph.h 第 270 行定义.
|
private |
在文件 CommandBufferGraph.h 第 271 行定义.
|
private |
在文件 CommandBufferGraph.h 第 272 行定义.