Kohi Game Engine
debug_rendergraph_node.h
Go to the documentation of this file.
1 
2 #ifndef _DEBUG_RENDERGRAPH_NODE_H_
3 #define _DEBUG_RENDERGRAPH_NODE_H_
4 
5 #include "defines.h"
6 #include "renderer/viewport.h"
7 
8 struct rendergraph;
9 struct rendergraph_node;
11 struct frame_data;
12 
14 
15 b8 debug_rendergraph_node_create(struct rendergraph* graph, struct rendergraph_node* self, const struct rendergraph_node_config* config);
18 b8 debug_rendergraph_node_execute(struct rendergraph_node* self, struct frame_data* p_frame_data);
20 
22 KAPI b8 debug_rendergraph_node_view_projection_set(struct rendergraph_node* self, mat4 view_matrix, vec3 view_pos, mat4 projection_matrix);
23 KAPI b8 debug_rendergraph_node_debug_geometries_set(struct rendergraph_node* self, struct frame_data* p_frame_data, u32 geometry_count, const struct geometry_render_data* geometries);
24 
26 
27 #endif
b8 debug_rendergraph_node_load_resources(struct rendergraph_node *self)
b8 debug_rendergraph_node_register_factory(void)
KAPI b8 debug_rendergraph_node_debug_geometries_set(struct rendergraph_node *self, struct frame_data *p_frame_data, u32 geometry_count, const struct geometry_render_data *geometries)
b8 debug_rendergraph_node_initialize(struct rendergraph_node *self)
b8 debug_rendergraph_node_execute(struct rendergraph_node *self, struct frame_data *p_frame_data)
KAPI b8 debug_rendergraph_node_viewport_set(struct rendergraph_node *self, viewport v)
KAPI b8 debug_rendergraph_node_view_projection_set(struct rendergraph_node *self, mat4 view_matrix, vec3 view_pos, mat4 projection_matrix)
void debug_rendergraph_node_destroy(struct rendergraph_node *self)
b8 debug_rendergraph_node_create(struct rendergraph *graph, struct rendergraph_node *self, const struct rendergraph_node_config *config)
This file contains global type definitions which are used throughout the entire engine and applicatio...
#define KAPI
Import/export qualifier.
Definition: defines.h:205
unsigned int u32
Unsigned 32-bit integer.
Definition: defines.h:25
_Bool b8
8-bit boolean type
Definition: defines.h:58
Engine-level current frame-specific data.
Definition: frame_data.h:11
Definition: renderer_types.h:35
The configuration for a rendergraph node.
Definition: rendergraph.h:124
Represents a single node in a rendergraph. A node is responsible for acquiring and maintaining its re...
Definition: rendergraph.h:67
Definition: rendergraph.h:92
Definition: viewport.h:6
a 4x4 matrix, typically used to represent object transformations.
Definition: math_types.h:195
A 3-element vector.
Definition: math_types.h:49