1 #ifndef _SHADOW_RENDERGRAPH_NODE_H_
2 #define _SHADOW_RENDERGRAPH_NODE_H_
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
float f32
32-bit floating point number
Definition: defines.h:47
signed int i32
Signed 32-bit integer.
Definition: defines.h:39
unsigned short u16
Unsigned 16-bit integer.
Definition: defines.h:22
unsigned char u8
Unsigned 8-bit integer.
Definition: defines.h:19
Contains various math types required for the engine.
KAPI b8 shadow_rendergraph_node_static_geometries_set(struct rendergraph_node *self, struct frame_data *p_frame_data, u32 geometry_count, const struct geometry_render_data *geometries)
struct shadow_cascade_data shadow_cascade_data
b8 shadow_rendergraph_node_register_factory(void)
KAPI b8 shadow_rendergraph_node_directional_light_set(struct rendergraph_node *self, const struct directional_light *light)
KAPI b8 shadow_rendergraph_node_execute(struct rendergraph_node *self, struct frame_data *p_frame_data)
KAPI void shadow_rendergraph_node_destroy(struct rendergraph_node *self)
KAPI b8 shadow_rendergraph_node_load_resources(struct rendergraph_node *self)
struct shadow_rendergraph_node_config shadow_rendergraph_node_config
KAPI b8 shadow_rendergraph_node_terrain_geometries_set(struct rendergraph_node *self, struct frame_data *p_frame_data, u32 geometry_count, const struct geometry_render_data *geometries)
KAPI b8 shadow_rendergraph_node_initialize(struct rendergraph_node *self)
KAPI b8 shadow_rendergraph_node_cascade_data_set(struct rendergraph_node *self, shadow_cascade_data data, u8 cascade_index)
KAPI b8 shadow_rendergraph_node_create(struct rendergraph *graph, struct rendergraph_node *self, const struct rendergraph_node_config *config)
A directional light, typically used to emulate sun/moon light.
Definition: light_system.h:33
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: shadow_rendergraph_node.h:14
mat4 view_projection
Definition: shadow_rendergraph_node.h:15
f32 split_depth
Definition: shadow_rendergraph_node.h:16
i32 cascade_index
Definition: shadow_rendergraph_node.h:17
Definition: shadow_rendergraph_node.h:20
u16 resolution
Definition: shadow_rendergraph_node.h:21
a 4x4 matrix, typically used to represent object transformations.
Definition: math_types.h:195