Kohi Game Engine
application_config Struct Reference

Represents configuration for the application. The application config is fed to the engine on creation, so it knows how to configure itself internally. More...

#include <engine.h>

Data Fields

i16 start_pos_x
 Window starting position x axis, if applicable. More...
 
i16 start_pos_y
 Window starting position y axis, if applicable. More...
 
i16 start_width
 Window starting width, if applicable. More...
 
i16 start_height
 Window starting height, if applicable. More...
 
char * name
 The application name used in windowing, if applicable. More...
 
font_system_config font_config
 Configuration for the font system. More...
 
render_viewviews
 A darray of render views. More...
 
renderer_plugin renderer_plugin
 
audio_plugin audio_plugin
 
u64 frame_allocator_size
 The size of the frame allocator. More...
 
u64 app_frame_data_size
 The size of the application-specific frame data. Set to 0 if not used. More...
 

Detailed Description

Represents configuration for the application. The application config is fed to the engine on creation, so it knows how to configure itself internally.

Field Documentation

◆ app_frame_data_size

u64 app_frame_data_size

The size of the application-specific frame data. Set to 0 if not used.

◆ audio_plugin

◆ font_config

font_system_config font_config

Configuration for the font system.

◆ frame_allocator_size

u64 frame_allocator_size

The size of the frame allocator.

◆ name

char* name

The application name used in windowing, if applicable.

◆ renderer_plugin

◆ start_height

i16 start_height

Window starting height, if applicable.

◆ start_pos_x

i16 start_pos_x

Window starting position x axis, if applicable.

◆ start_pos_y

i16 start_pos_y

Window starting position y axis, if applicable.

◆ start_width

i16 start_width

Window starting width, if applicable.

◆ views

render_view* views

A darray of render views.


The documentation for this struct was generated from the following file: