Ember
A C++ 20 'game engine' built with SDL3 with wide platform support.
|
#include "imports.h"
Go to the source code of this file.
Functions | |
std::string | text_format (const char *fmt,...) |
Create a formatted string. More... | |
int | get_memory_usage () |
Get the current memory usage in MB. More... | |
int | get_available_memory () |
Get the available system memory in MB. More... | |
int | get_cpu_cores_num () |
Get the number of CPU cores ( LOGICAL ) More... | |
const char * | file_extension_to_mime_type (const char *ext) |
Get MIME type from file extension. More... | |
const char* file_extension_to_mime_type | ( | const char * | ext | ) |
Get MIME type from file extension.
ext | File extension |
int get_available_memory | ( | ) |
Get the available system memory in MB.
int get_cpu_cores_num | ( | ) |
Get the number of CPU cores ( LOGICAL )
int get_memory_usage | ( | ) |
Get the current memory usage in MB.
std::string text_format | ( | const char * | fmt, |
... | |||
) |
Create a formatted string.