7#include "gfx_device.hpp"
8#include "../utility/module.hpp"
15namespace hi::inline
v1 {
37 virtual
void init(){};
38 virtual void deinit(){};
42 void log_memory_usage() const noexcept {
43 for (
hilet &device: devices) {
44 device->log_memory_usage();
48 gfx_device *find_best_device_for_surface(gfx_surface
const &surface);
#define hilet
Invariant should be the default for variables.
Definition utility.hpp:23
DOXYGEN BUG.
Definition algorithm.hpp:13
Graphics system.
Definition gfx_system.hpp:20
std::vector< std::shared_ptr< gfx_device > > devices
List of all devices.
Definition gfx_system.hpp:23