TheAtlasEngine
 
Loading...
Searching...
No Matches
atlas.application Module Reference

Classes

struct  atlas::application_settings
 application properties settings for the window More...
 
class  atlas::application
 represents a single application that gets created by the engine internally More...
 

Functions

 application (ref< graphics_context > p_context, const application_settings &p_params)
 constructs a new application
 
static float delta_time ()
 
void execute ()
 Explicitly is used to execute the application's mainloop.
 
void post_destroy ()
 Performs any post cleanup when user requests the application to close.
 
static graphics_api current_api ()
 we only ever have one window
 
VkSwapchainKHR get_current_swapchain ()
 gives you the current swapchain handle
 
ref< renderer_system > renderer_instance () const
 

Variables

std::string name = "Undefined"
 
uint32_t width = 0
 
uint32_t height = 0
 
glm::vec4 background_color = { 1.f, 0.5f, 0.5f, 1.f }
 

Files

file  TheAtlasEngine/atlas/core/application.cppm