1#ifndef TOPAZ_GPU_GRAPH_HPP
2#define TOPAZ_GPU_GRAPH_HPP
3#include "tz/gpu/pass.hpp"
24 return static_cast<graph_flag>(
static_cast<int>(lhs) |
static_cast<int>(rhs));
29 return static_cast<int>(lhs) &
static_cast<int>(rhs);
40 void graph_add_subgraph(graph_handle graph, graph_handle subgraph);
41 void graph_set_execute_callback(graph_handle graph,
void(*on_execute)(graph_handle));
Represents a generic opaque handle.
Definition handle.hpp:32
graph_flag
Specifies optional, extra functionality for a graph.
Definition graph.hpp:19
graph_handle create_graph(const char *name="<untitled graph>")
Create a new graph, which can be used for rendering a frame.
void execute(graph_handle)
Execute the graph - invoking all passes contained a single time.