#include <OldRenderGraph.h>
|
Image * | getResourceImage (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) |
OldPass * | getPassByName (const std::string &name) |
std::string | formatToString (Format format) |
void | updateResource () |
void | swapJobQueue () |
void | addRef () |
void | release () |
size_t | count () |
| operator bool () const |
◆ OldRenderGraph()
FCT::OldRenderGraph::OldRenderGraph |
( |
Context * | ctx | ) |
|
◆ addPass()
void FCT::OldRenderGraph::addPass |
( |
const std::string & | name, |
|
|
OldPass * | pass ) |
◆ addPassDenpendency()
void FCT::OldRenderGraph::addPassDenpendency |
( |
const std::string & | from, |
|
|
const std::string & | to ) |
◆ addRef()
void FCT::RefCount::addRef |
( |
| ) |
|
|
inlineinherited |
◆ addWindowResource()
void FCT::OldRenderGraph::addWindowResource |
( |
Window * | wnd | ) |
|
◆ analyzeImplicitDependencies()
void FCT::OldRenderGraph::analyzeImplicitDependencies |
( |
| ) |
|
◆ bindDepthStencil()
void FCT::OldRenderGraph::bindDepthStencil |
( |
const char * | name, |
|
|
std::string | image ) |
◆ bindOutput()
void FCT::OldRenderGraph::bindOutput |
( |
const char * | name, |
|
|
Window * | wnd, |
|
|
uint8_t | slot = 0 ) |
◆ bindOutputImage()
void FCT::OldRenderGraph::bindOutputImage |
( |
const std::string & | name, |
|
|
std::string | image, |
|
|
uint8_t | slot = 0 ) |
◆ bindTextureImage()
void FCT::OldRenderGraph::bindTextureImage |
( |
std::string | name, |
|
|
std::string | image, |
|
|
uint32_t | width = 0, |
|
|
uint32_t | height = 0, |
|
|
Samples | samples = Samples::sample_undefined ) |
◆ checkAndUpdateResourceSizes()
void FCT::OldRenderGraph::checkAndUpdateResourceSizes |
( |
| ) |
|
◆ compile()
void FCT::OldRenderGraph::compile |
( |
| ) |
|
◆ computeSize()
void FCT::OldRenderGraph::computeSize |
( |
| ) |
|
◆ count()
size_t FCT::RefCount::count |
( |
| ) |
|
|
inlineinherited |
◆ deleteThis()
virtual void FCT::RefCount::deleteThis |
( |
| ) |
|
|
inlineprotectedvirtualinherited |
◆ execute()
◆ formatToString()
std::string FCT::OldRenderGraph::formatToString |
( |
Format | format | ) |
|
◆ generateImageGraph()
void FCT::OldRenderGraph::generateImageGraph |
( |
| ) |
|
◆ generateImageResource()
void FCT::OldRenderGraph::generateImageResource |
( |
| ) |
|
◆ getPassByName()
OldPass * FCT::OldRenderGraph::getPassByName |
( |
const std::string & | name | ) |
|
|
inline |
◆ getPassTargetToWnd()
std::vector< std::string > FCT::OldRenderGraph::getPassTargetToWnd |
( |
Window * | wnd | ) |
|
◆ getResourceImage()
Image * FCT::OldRenderGraph::getResourceImage |
( |
std::string | name | ) |
|
|
inline |
◆ isPassReadingFromResource()
bool FCT::OldRenderGraph::isPassReadingFromResource |
( |
const std::string & | passName, |
|
|
const std::string & | resourceName ) |
◆ isPassWritingToResource()
bool FCT::OldRenderGraph::isPassWritingToResource |
( |
const std::string & | passName, |
|
|
const std::string & | resourceName ) |
◆ operator bool()
FCT::RefCount::operator bool |
( |
| ) |
const |
|
inlineinherited |
◆ printExecutionOrder()
void FCT::OldRenderGraph::printExecutionOrder |
( |
| ) |
|
◆ printResourceInfo()
void FCT::OldRenderGraph::printResourceInfo |
( |
| ) |
|
◆ release()
void FCT::RefCount::release |
( |
| ) |
|
|
inlineinherited |
◆ saveExecutionOrder()
void FCT::OldRenderGraph::saveExecutionOrder |
( |
const std::vector< PassGraphType::vertex_descriptor > & | sortedPasses, |
|
|
const std::vector< std::vector< PassGraphType::vertex_descriptor > > & | passGroups ) |
◆ submit()
void FCT::OldRenderGraph::submit |
( |
Job * | job, |
|
|
std::string | name ) |
◆ swapJobQueue()
void FCT::OldRenderGraph::swapJobQueue |
( |
| ) |
|
◆ updateFrameIndices()
void FCT::OldRenderGraph::updateFrameIndices |
( |
| ) |
|
◆ updateResource()
void FCT::OldRenderGraph::updateResource |
( |
| ) |
|
◆ m_bindedWindows
std::vector<Window*> FCT::OldRenderGraph::m_bindedWindows |
|
protected |
◆ m_ctx
Context* FCT::OldRenderGraph::m_ctx |
|
protected |
◆ m_executionOrder
◆ m_imageResourceDescs
std::unordered_map<std::string,ImageResourceDesc> FCT::OldRenderGraph::m_imageResourceDescs |
|
protected |
◆ m_images
std::unordered_map<std::string, Image*> FCT::OldRenderGraph::m_images |
|
protected |
◆ m_needUpdataFramesIndexImages
std::vector<MutilBufferImage*> FCT::OldRenderGraph::m_needUpdataFramesIndexImages |
|
protected |
◆ m_passGraph
◆ m_passGroups
◆ m_passVertex
std::unordered_map<std::string, PassGraphType::vertex_descriptor> FCT::OldRenderGraph::m_passVertex |
|
protected |
◆ m_refCount
std::atomic<size_t> FCT::RefCount::m_refCount |
|
protectedinherited |
◆ m_resourceGraph
◆ m_resourceVertices
std::unordered_map<std::string, ResourceGraphType::vertex_descriptor> FCT::OldRenderGraph::m_resourceVertices |
|
protected |
◆ m_textureLayouts
std::unordered_map<std::string, TextureElement> FCT::OldRenderGraph::m_textureLayouts |
|
protected |
◆ m_unnameWndBackBufferCount
uint32_t FCT::OldRenderGraph::m_unnameWndBackBufferCount = 0 |
|
protected |
◆ m_unnameWndStencilDepthCount
uint32_t FCT::OldRenderGraph::m_unnameWndStencilDepthCount = 0 |
|
protected |
◆ m_windowBackBufferNames
std::unordered_map<Window*,std::string> FCT::OldRenderGraph::m_windowBackBufferNames |
|
protected |
◆ m_windowDepthStencilNames
std::unordered_map<Window*,std::string> FCT::OldRenderGraph::m_windowDepthStencilNames |
|
protected |
◆ m_windowDepthStencilResources
◆ m_windowImageResources
std::unordered_map<std::string, WindowImageResource> FCT::OldRenderGraph::m_windowImageResources |
|
protected |
该类的文档由以下文件生成: