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

#include <OldRenderGraph.h>

类 FCT::OldRenderGraph 继承关系图:
Inheritance graph
FCT::OldRenderGraph 的协作图:
Collaboration graph

struct  ExecutionOrder
struct  ImageResourceDesc
struct  ImageResourceVertex
struct  WindowDepthStencilResource
struct  WindowImageResource

Public 成员函数

ImagegetResourceImage (std::string name)
 OldRenderGraph (Context *ctx)
void addPass (const std::string &name, OldPass *pass)
void addWindowResource (Window *wnd)
void submit (Job *job, std::string name)
void addPassDenpendency (const std::string &from, const std::string &to)
void bindOutputImage (const std::string &name, std::string image, uint8_t slot=0)
void bindTextureImage (std::string name, std::string image, uint32_t width=0, uint32_t height=0, Samples samples=Samples::sample_undefined)
void bindDepthStencil (const char *name, std::string image)
void bindOutput (const char *name, Window *wnd, uint8_t slot=0)
void checkAndUpdateResourceSizes ()
void generateImageGraph ()
void computeSize ()
void updateFrameIndices ()
void saveExecutionOrder (const std::vector< PassGraphType::vertex_descriptor > &sortedPasses, const std::vector< std::vector< PassGraphType::vertex_descriptor > > &passGroups)
void generateImageResource ()
void compile ()
void analyzeImplicitDependencies ()
bool isPassWritingToResource (const std::string &passName, const std::string &resourceName)
bool isPassReadingFromResource (const std::string &passName, const std::string &resourceName)
void execute (RHI::CommandBuffer *cmdBuf)
void printExecutionOrder ()
void printResourceInfo ()
std::vector< std::string > getPassTargetToWnd (Window *wnd)
OldPassgetPassByName (const std::string &name)
std::string formatToString (Format format)
void updateResource ()
void swapJobQueue ()
void addRef ()
void release ()
size_t count ()
 operator bool () const

Protected 成员函数

virtual void deleteThis ()

Protected 属性

Contextm_ctx
uint32_t m_unnameWndBackBufferCount = 0
uint32_t m_unnameWndStencilDepthCount = 0
std::unordered_map< std::string, WindowImageResourcem_windowImageResources
std::unordered_map< std::string, WindowDepthStencilResourcem_windowDepthStencilResources
std::unordered_map< std::string, Image * > m_images
std::unordered_map< Window *, std::string > m_windowBackBufferNames
std::unordered_map< Window *, std::string > m_windowDepthStencilNames
std::vector< Window * > m_bindedWindows
std::unordered_map< std::string, ImageResourceDescm_imageResourceDescs
std::unordered_map< std::string, PassGraphType::vertex_descriptor > m_passVertex
std::unordered_map< std::string, TextureElementm_textureLayouts
std::unordered_map< std::string, ResourceGraphType::vertex_descriptor > m_resourceVertices
std::vector< RHI::PassGroup * > m_passGroups
std::vector< MutilBufferImage * > m_needUpdataFramesIndexImages
PassGraphType m_passGraph
ResourceGraphType m_resourceGraph
ExecutionOrder m_executionOrder
std::atomic< size_t > m_refCount

详细描述

在文件 OldRenderGraph.h80 行定义.

构造及析构函数说明

◆ OldRenderGraph()

FCT::OldRenderGraph::OldRenderGraph ( Context * ctx)

在文件 OldRenderGraph.cpp4 行定义.

成员函数说明

◆ addPass()

void FCT::OldRenderGraph::addPass ( const std::string & name,
OldPass * pass )

在文件 OldRenderGraph.cpp9 行定义.

函数调用图:

◆ addPassDenpendency()

void FCT::OldRenderGraph::addPassDenpendency ( const std::string & from,
const std::string & to )

在文件 OldRenderGraph.cpp77 行定义.

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

◆ addRef()

void FCT::RefCount::addRef ( )
inlineinherited

在文件 RefCount.h10 行定义.

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

◆ addWindowResource()

void FCT::OldRenderGraph::addWindowResource ( Window * wnd)

在文件 OldRenderGraph.cpp42 行定义.

函数调用图:

◆ analyzeImplicitDependencies()

void FCT::OldRenderGraph::analyzeImplicitDependencies ( )

在文件 OldRenderGraph.cpp598 行定义.

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

◆ bindDepthStencil()

void FCT::OldRenderGraph::bindDepthStencil ( const char * name,
std::string image )

在文件 OldRenderGraph.cpp104 行定义.

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

◆ bindOutput()

void FCT::OldRenderGraph::bindOutput ( const char * name,
Window * wnd,
uint8_t slot = 0 )

在文件 OldRenderGraph.cpp111 行定义.

函数调用图:

◆ bindOutputImage()

void FCT::OldRenderGraph::bindOutputImage ( const std::string & name,
std::string image,
uint8_t slot = 0 )

在文件 OldRenderGraph.cpp84 行定义.

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

◆ bindTextureImage()

void FCT::OldRenderGraph::bindTextureImage ( std::string name,
std::string image,
uint32_t width = 0,
uint32_t height = 0,
Samples samples = Samples::sample_undefined )

在文件 OldRenderGraph.cpp91 行定义.

◆ checkAndUpdateResourceSizes()

void FCT::OldRenderGraph::checkAndUpdateResourceSizes ( )

在文件 OldRenderGraph.cpp123 行定义.

函数调用图:

◆ compile()

void FCT::OldRenderGraph::compile ( )

在文件 OldRenderGraph.cpp471 行定义.

函数调用图:

◆ computeSize()

void FCT::OldRenderGraph::computeSize ( )

在文件 OldRenderGraph.cpp279 行定义.

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

◆ count()

size_t FCT::RefCount::count ( )
inlineinherited

在文件 RefCount.h19 行定义.

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

◆ deleteThis()

virtual void FCT::RefCount::deleteThis ( )
inlineprotectedvirtualinherited

FCT::RHI::Fence , 以及 FCT::RHI::Semaphore 重载.

在文件 RefCount.h27 行定义.

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

◆ execute()

void FCT::OldRenderGraph::execute ( RHI::CommandBuffer * cmdBuf)

在文件 OldRenderGraph.cpp679 行定义.

函数调用图:

◆ formatToString()

std::string FCT::OldRenderGraph::formatToString ( Format format)

在文件 OldRenderGraph.cpp946 行定义.

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

◆ generateImageGraph()

void FCT::OldRenderGraph::generateImageGraph ( )

在文件 OldRenderGraph.cpp199 行定义.

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

◆ generateImageResource()

void FCT::OldRenderGraph::generateImageResource ( )

在文件 OldRenderGraph.cpp385 行定义.

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

◆ getPassByName()

OldPass * FCT::OldRenderGraph::getPassByName ( const std::string & name)
inline

在文件 OldRenderGraph.h176 行定义.

◆ getPassTargetToWnd()

std::vector< std::string > FCT::OldRenderGraph::getPassTargetToWnd ( Window * wnd)

在文件 OldRenderGraph.cpp853 行定义.

◆ getResourceImage()

Image * FCT::OldRenderGraph::getResourceImage ( std::string name)
inline

在文件 OldRenderGraph.h137 行定义.

◆ isPassReadingFromResource()

bool FCT::OldRenderGraph::isPassReadingFromResource ( const std::string & passName,
const std::string & resourceName )

在文件 OldRenderGraph.cpp660 行定义.

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

◆ isPassWritingToResource()

bool FCT::OldRenderGraph::isPassWritingToResource ( const std::string & passName,
const std::string & resourceName )

在文件 OldRenderGraph.cpp637 行定义.

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

◆ operator bool()

FCT::RefCount::operator bool ( ) const
inlineinherited

在文件 RefCount.h22 行定义.

◆ printExecutionOrder()

void FCT::OldRenderGraph::printExecutionOrder ( )

在文件 OldRenderGraph.cpp701 行定义.

◆ printResourceInfo()

void FCT::OldRenderGraph::printResourceInfo ( )

在文件 OldRenderGraph.cpp730 行定义.

函数调用图:

◆ release()

void FCT::RefCount::release ( )
inlineinherited

在文件 RefCount.h13 行定义.

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

◆ saveExecutionOrder()

void FCT::OldRenderGraph::saveExecutionOrder ( const std::vector< PassGraphType::vertex_descriptor > & sortedPasses,
const std::vector< std::vector< PassGraphType::vertex_descriptor > > & passGroups )

在文件 OldRenderGraph.cpp378 行定义.

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

◆ submit()

void FCT::OldRenderGraph::submit ( Job * job,
std::string name )

在文件 OldRenderGraph.cpp70 行定义.

函数调用图:

◆ swapJobQueue()

void FCT::OldRenderGraph::swapJobQueue ( )

在文件 OldRenderGraph.cpp969 行定义.

函数调用图:

◆ updateFrameIndices()

void FCT::OldRenderGraph::updateFrameIndices ( )

在文件 OldRenderGraph.cpp370 行定义.

◆ updateResource()

void FCT::OldRenderGraph::updateResource ( )

在文件 OldRenderGraph.cpp960 行定义.

函数调用图:

类成员变量说明

◆ m_bindedWindows

std::vector<Window*> FCT::OldRenderGraph::m_bindedWindows
protected

在文件 OldRenderGraph.h118 行定义.

◆ m_ctx

Context* FCT::OldRenderGraph::m_ctx
protected

在文件 OldRenderGraph.h83 行定义.

◆ m_executionOrder

ExecutionOrder FCT::OldRenderGraph::m_executionOrder
protected

在文件 OldRenderGraph.h135 行定义.

◆ m_imageResourceDescs

std::unordered_map<std::string,ImageResourceDesc> FCT::OldRenderGraph::m_imageResourceDescs
protected

在文件 OldRenderGraph.h119 行定义.

◆ m_images

std::unordered_map<std::string, Image*> FCT::OldRenderGraph::m_images
protected

在文件 OldRenderGraph.h115 行定义.

◆ m_needUpdataFramesIndexImages

std::vector<MutilBufferImage*> FCT::OldRenderGraph::m_needUpdataFramesIndexImages
protected

在文件 OldRenderGraph.h124 行定义.

◆ m_passGraph

PassGraphType FCT::OldRenderGraph::m_passGraph
protected

在文件 OldRenderGraph.h129 行定义.

◆ m_passGroups

std::vector<RHI::PassGroup*> FCT::OldRenderGraph::m_passGroups
protected

在文件 OldRenderGraph.h123 行定义.

◆ m_passVertex

std::unordered_map<std::string, PassGraphType::vertex_descriptor> FCT::OldRenderGraph::m_passVertex
protected

在文件 OldRenderGraph.h120 行定义.

◆ m_refCount

std::atomic<size_t> FCT::RefCount::m_refCount
protectedinherited

在文件 RefCount.h30 行定义.

◆ m_resourceGraph

ResourceGraphType FCT::OldRenderGraph::m_resourceGraph
protected

在文件 OldRenderGraph.h130 行定义.

◆ m_resourceVertices

std::unordered_map<std::string, ResourceGraphType::vertex_descriptor> FCT::OldRenderGraph::m_resourceVertices
protected

在文件 OldRenderGraph.h122 行定义.

◆ m_textureLayouts

std::unordered_map<std::string, TextureElement> FCT::OldRenderGraph::m_textureLayouts
protected

在文件 OldRenderGraph.h121 行定义.

◆ m_unnameWndBackBufferCount

uint32_t FCT::OldRenderGraph::m_unnameWndBackBufferCount = 0
protected

在文件 OldRenderGraph.h101 行定义.

◆ m_unnameWndStencilDepthCount

uint32_t FCT::OldRenderGraph::m_unnameWndStencilDepthCount = 0
protected

在文件 OldRenderGraph.h102 行定义.

◆ m_windowBackBufferNames

std::unordered_map<Window*,std::string> FCT::OldRenderGraph::m_windowBackBufferNames
protected

在文件 OldRenderGraph.h116 行定义.

◆ m_windowDepthStencilNames

std::unordered_map<Window*,std::string> FCT::OldRenderGraph::m_windowDepthStencilNames
protected

在文件 OldRenderGraph.h117 行定义.

◆ m_windowDepthStencilResources

std::unordered_map<std::string, WindowDepthStencilResource> FCT::OldRenderGraph::m_windowDepthStencilResources
protected

在文件 OldRenderGraph.h114 行定义.

◆ m_windowImageResources

std::unordered_map<std::string, WindowImageResource> FCT::OldRenderGraph::m_windowImageResources
protected

在文件 OldRenderGraph.h113 行定义.


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