Kohi Game Engine
shadow_rendergraph_node.h File Reference
#include "defines.h"
#include "math/math_types.h"
#include "renderer/renderer_types.h"

Go to the source code of this file.

Data Structures

struct  shadow_cascade_data
 
struct  shadow_rendergraph_node_config
 

Typedefs

typedef struct shadow_cascade_data shadow_cascade_data
 
typedef struct shadow_rendergraph_node_config shadow_rendergraph_node_config
 

Functions

KAPI b8 shadow_rendergraph_node_create (struct rendergraph *graph, struct rendergraph_node *self, const struct rendergraph_node_config *config)
 
KAPI b8 shadow_rendergraph_node_initialize (struct rendergraph_node *self)
 
KAPI b8 shadow_rendergraph_node_load_resources (struct rendergraph_node *self)
 
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_directional_light_set (struct rendergraph_node *self, const struct directional_light *light)
 
KAPI b8 shadow_rendergraph_node_cascade_data_set (struct rendergraph_node *self, shadow_cascade_data data, u8 cascade_index)
 
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)
 
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)
 
b8 shadow_rendergraph_node_register_factory (void)
 

Typedef Documentation

◆ shadow_cascade_data

◆ shadow_rendergraph_node_config

Function Documentation

◆ shadow_rendergraph_node_cascade_data_set()

KAPI b8 shadow_rendergraph_node_cascade_data_set ( struct rendergraph_node self,
shadow_cascade_data  data,
u8  cascade_index 
)

◆ shadow_rendergraph_node_create()

KAPI b8 shadow_rendergraph_node_create ( struct rendergraph graph,
struct rendergraph_node self,
const struct rendergraph_node_config config 
)

◆ shadow_rendergraph_node_destroy()

KAPI void shadow_rendergraph_node_destroy ( struct rendergraph_node self)

◆ shadow_rendergraph_node_directional_light_set()

KAPI b8 shadow_rendergraph_node_directional_light_set ( struct rendergraph_node self,
const struct directional_light light 
)

◆ shadow_rendergraph_node_execute()

KAPI b8 shadow_rendergraph_node_execute ( struct rendergraph_node self,
struct frame_data p_frame_data 
)

◆ shadow_rendergraph_node_initialize()

KAPI b8 shadow_rendergraph_node_initialize ( struct rendergraph_node self)

◆ shadow_rendergraph_node_load_resources()

KAPI b8 shadow_rendergraph_node_load_resources ( struct rendergraph_node self)

◆ shadow_rendergraph_node_register_factory()

b8 shadow_rendergraph_node_register_factory ( void  )

◆ shadow_rendergraph_node_static_geometries_set()

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 
)

◆ shadow_rendergraph_node_terrain_geometries_set()

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 
)