wren
Vulkan-based game engine
|
#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 & |
Private Member Functions | |
auto | create_target () const -> expected< std::shared_ptr< RenderTarget > > |
Private Attributes | |
std::shared_ptr< Context > | ctx_ |
std::vector< std::tuple< std::string, PassResources, RenderPass::execute_fn_t > > | passes_ |
|
inlineexplicit |
auto wren::GraphBuilder::add_pass | ( | const std::string & | name, |
const PassResources & | resources, | ||
const RenderPass::execute_fn_t & | fn ) -> GraphBuilder & |
|
private |
|
private |
|
private |