Kohi Game Engine
ui_rendergraph_node.h
Go to the documentation of this file.
1 #ifndef _UI_RENDERGRAPH_NODE_H_
2 #define _UI_RENDERGRAPH_NODE_H_
3 
4 #include "defines.h"
5 #include "renderer/viewport.h"
6 #include "standard_ui_system.h"
7 
8 struct rendergraph;
9 struct rendergraph_node;
11 struct frame_data;
12 struct kresource_texture;
13 
14 KAPI b8 ui_rendergraph_node_create(struct rendergraph* graph, struct rendergraph_node* self, const struct rendergraph_node_config* config);
17 KAPI b8 ui_rendergraph_node_execute(struct rendergraph_node* self, struct frame_data* p_frame_data);
19 
23 
25 
26 #endif
This file contains global type definitions which are used throughout the entire engine and applicatio...
#define KAPI
Import/export qualifier.
Definition: defines.h:205
_Bool b8
8-bit boolean type
Definition: defines.h:58
u16 ktexture
Represents a texture to be used for rendering purposes, stored on the GPU (VRAM)
Definition: kresource_types.h:45
The standard UI system is responsible for managing standard ui elements throughout the engine....
Engine-level current frame-specific data.
Definition: frame_data.h:11
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: standard_ui_system.h:41
Definition: viewport.h:6
KAPI b8 ui_rendergraph_node_create(struct rendergraph *graph, struct rendergraph_node *self, const struct rendergraph_node_config *config)
KAPI void ui_rendergraph_node_set_viewport_and_matrices(struct rendergraph_node *self, viewport vp, mat4 view, mat4 projection)
b8 ui_rendergraph_node_register_factory(void)
KAPI b8 ui_rendergraph_node_initialize(struct rendergraph_node *self)
KAPI void ui_rendergraph_node_destroy(struct rendergraph_node *self)
KAPI void ui_rendergraph_node_set_render_data(struct rendergraph_node *self, standard_ui_render_data render_data)
KAPI b8 ui_rendergraph_node_load_resources(struct rendergraph_node *self)
KAPI void ui_rendergraph_node_set_atlas(struct rendergraph_node *self, ktexture atlas)
KAPI b8 ui_rendergraph_node_execute(struct rendergraph_node *self, struct frame_data *p_frame_data)
a 4x4 matrix, typically used to represent object transformations.
Definition: math_types.h:195