Kohi Game Engine
|
Represents a single node in a rendergraph. A node is responsible for acquiring and maintaining its required resources, and generally has some sort of input (typically sinks) and some form of output (typically sources) to potentially other nodes. More...
#include <rendergraph.h>
Data Fields | |
u32 | index |
const char * | name |
The name of the node. More... | |
struct rendergraph * | graph |
u32 | source_count |
rendergraph_source * | sources |
u32 | sink_count |
rendergraph_sink * | sinks |
void * | internal_data |
b8(* | initialize )(struct rendergraph_node *self) |
b8(* | load_resources )(struct rendergraph_node *self) |
b8(* | execute )(struct rendergraph_node *self, struct frame_data *p_frame_data) |
void(* | destroy )(struct rendergraph_node *self) |
Represents a single node in a rendergraph. A node is responsible for acquiring and maintaining its required resources, and generally has some sort of input (typically sinks) and some form of output (typically sources) to potentially other nodes.
void(* destroy) (struct rendergraph_node *self) |
b8(* execute) (struct rendergraph_node *self, struct frame_data *p_frame_data) |
struct rendergraph* graph |
u32 index |
b8(* initialize) (struct rendergraph_node *self) |
void* internal_data |
b8(* load_resources) (struct rendergraph_node *self) |
const char* name |
The name of the node.
u32 sink_count |
rendergraph_sink* sinks |
u32 source_count |
rendergraph_source* sources |