Simulant
21.12-194
A portable game engine for Windows, OSX, Linux, Dreamcast, and PSP
simulant
platforms
windows
platform.h
1
#pragma once
2
3
#include "../../platform.h"
4
5
namespace
smlt
{
6
7
class
WindowsPlatform
:
public
Platform
{
8
public
:
9
std::string name()
const override
{
10
return
"windows"
;
11
}
12
13
Resolution
native_resolution()
const override
;
14
15
uint64_t available_ram_in_bytes()
const override
;
16
uint64_t total_ram_in_bytes()
const override
;
17
uint64_t available_vram_in_bytes()
const override
;
18
19
uint64_t process_ram_usage_in_bytes(ProcessID process_id)
const override
;
20
};
21
22
}
smlt
Definition:
animation.cpp:25
smlt::WindowsPlatform
Definition:
platform.h:7
smlt::Platform
Definition:
platform.h:18
smlt::Resolution
Definition:
platform.h:10
Generated by
1.8.20