Kohi Game Engine
core_resource_types.h File Reference
#include "containers/array.h"
#include "math/math_types.h"
#include "strings/kname.h"

Go to the source code of this file.

Data Structures

struct  kresource_info
 
struct  scene_node_attachment_config
 
struct  scene_node_attachment_skybox_config
 
struct  scene_node_attachment_directional_light_config
 
struct  scene_node_attachment_point_light_config
 
struct  scene_node_attachment_audio_emitter_config
 
struct  scene_node_attachment_static_mesh_config
 
struct  scene_node_attachment_heightmap_terrain_config
 
struct  scene_node_attachment_water_plane_config
 
struct  scene_node_attachment_volume_config
 
struct  scene_node_attachment_hit_sphere_config
 
struct  scene_node_config
 Represents the configuration for a scene node. More...
 

Typedefs

typedef struct kresource_info kresource_info
 
typedef enum scene_node_attachment_type scene_node_attachment_type
 
typedef struct scene_node_attachment_config scene_node_attachment_config
 
typedef struct scene_node_attachment_skybox_config scene_node_attachment_skybox_config
 
typedef struct scene_node_attachment_directional_light_config scene_node_attachment_directional_light_config
 
typedef struct scene_node_attachment_point_light_config scene_node_attachment_point_light_config
 
typedef struct scene_node_attachment_audio_emitter_config scene_node_attachment_audio_emitter_config
 
typedef struct scene_node_attachment_static_mesh_config scene_node_attachment_static_mesh_config
 
typedef struct scene_node_attachment_heightmap_terrain_config scene_node_attachment_heightmap_terrain_config
 
typedef struct scene_node_attachment_water_plane_config scene_node_attachment_water_plane_config
 
typedef enum scene_volume_type scene_volume_type
 
typedef enum scene_volume_shape_type scene_volume_shape_type
 
typedef struct scene_node_attachment_volume_config scene_node_attachment_volume_config
 
typedef struct scene_node_attachment_hit_sphere_config scene_node_attachment_hit_sphere_config
 
typedef struct scene_node_config scene_node_config
 Represents the configuration for a scene node. More...
 

Enumerations

enum  scene_node_attachment_type {
  SCENE_NODE_ATTACHMENT_TYPE_UNKNOWN , SCENE_NODE_ATTACHMENT_TYPE_SKYBOX , SCENE_NODE_ATTACHMENT_TYPE_DIRECTIONAL_LIGHT , SCENE_NODE_ATTACHMENT_TYPE_POINT_LIGHT ,
  SCENE_NODE_ATTACHMENT_TYPE_AUDIO_EMITTER , SCENE_NODE_ATTACHMENT_TYPE_STATIC_MESH , SCENE_NODE_ATTACHMENT_TYPE_HEIGHTMAP_TERRAIN , SCENE_NODE_ATTACHMENT_TYPE_WATER_PLANE ,
  SCENE_NODE_ATTACHMENT_TYPE_VOLUME , SCENE_NODE_ATTACHMENT_TYPE_HIT_SPHERE , SCENE_NODE_ATTACHMENT_TYPE_COUNT
}
 
enum  scene_volume_type { SCENE_VOLUME_TYPE_TRIGGER }
 
enum  scene_volume_shape_type { SCENE_VOLUME_SHAPE_TYPE_SPHERE , SCENE_VOLUME_SHAPE_TYPE_RECTANGLE }
 

Functions

 STATIC_ASSERT (SCENE_NODE_ATTACHMENT_TYPE_COUNT==(sizeof(scene_node_attachment_type_strings)/sizeof(*scene_node_attachment_type_strings)), "Scene attachment type count does not match string lookup table count.")
 

Typedef Documentation

◆ kresource_info

◆ scene_node_attachment_audio_emitter_config

◆ scene_node_attachment_config

◆ scene_node_attachment_directional_light_config

◆ scene_node_attachment_heightmap_terrain_config

◆ scene_node_attachment_hit_sphere_config

◆ scene_node_attachment_point_light_config

◆ scene_node_attachment_skybox_config

◆ scene_node_attachment_static_mesh_config

◆ scene_node_attachment_type

◆ scene_node_attachment_volume_config

◆ scene_node_attachment_water_plane_config

◆ scene_node_config

Represents the configuration for a scene node.

◆ scene_volume_shape_type

◆ scene_volume_type

Enumeration Type Documentation

◆ scene_node_attachment_type

Enumerator
SCENE_NODE_ATTACHMENT_TYPE_UNKNOWN 
SCENE_NODE_ATTACHMENT_TYPE_SKYBOX 
SCENE_NODE_ATTACHMENT_TYPE_DIRECTIONAL_LIGHT 
SCENE_NODE_ATTACHMENT_TYPE_POINT_LIGHT 
SCENE_NODE_ATTACHMENT_TYPE_AUDIO_EMITTER 
SCENE_NODE_ATTACHMENT_TYPE_STATIC_MESH 
SCENE_NODE_ATTACHMENT_TYPE_HEIGHTMAP_TERRAIN 
SCENE_NODE_ATTACHMENT_TYPE_WATER_PLANE 
SCENE_NODE_ATTACHMENT_TYPE_VOLUME 
SCENE_NODE_ATTACHMENT_TYPE_HIT_SPHERE 
SCENE_NODE_ATTACHMENT_TYPE_COUNT 

◆ scene_volume_shape_type

Enumerator
SCENE_VOLUME_SHAPE_TYPE_SPHERE 
SCENE_VOLUME_SHAPE_TYPE_RECTANGLE 

◆ scene_volume_type

Enumerator
SCENE_VOLUME_TYPE_TRIGGER 

Function Documentation

◆ STATIC_ASSERT()

STATIC_ASSERT ( SCENE_NODE_ATTACHMENT_TYPE_COUNT  = =(sizeof(scene_node_attachment_type_strings)/sizeof(*scene_node_attachment_type_strings)),
"Scene attachment type count does not match string lookup table count."   
)