wren
Vulkan-based game engine
Loading...
Searching...
No Matches
wren::GraphBuilder Class Reference

#include <graph.hpp>

Public Member Functions

 GraphBuilder (const std::shared_ptr< Context > &ctx)
 
auto compile () const -> expected< Graph >
 
auto add_pass (const std::string &name, const PassResources &resources, const RenderPass::execute_fn_t &fn) -> GraphBuilder &
 

Constructor & Destructor Documentation

◆ GraphBuilder()

wren::GraphBuilder::GraphBuilder ( const std::shared_ptr< Context > & ctx)
inlineexplicit

Member Function Documentation

◆ add_pass()

auto wren::GraphBuilder::add_pass ( const std::string & name,
const PassResources & resources,
const RenderPass::execute_fn_t & fn ) -> GraphBuilder &

◆ compile()

auto wren::GraphBuilder::compile ( ) const -> expected<Graph>
Here is the call graph for this function:
Here is the caller graph for this function:

The documentation for this class was generated from the following files: