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