galaxy 1.0.0
Real-Time C++23 Game Programming Framework. Built on data-driven design principles and agile software engineering.
Loading...
Searching...
No Matches
Platform.hpp
Go to the documentation of this file.
1
7
8#ifndef GALAXY_PLATFORM_PLATFORM_HPP_
9#define GALAXY_PLATFORM_PLATFORM_HPP_
10
12
13#ifdef GALAXY_WIN_PLATFORM
14
15inline __declspec(dllexport) int AmdPowerXpressRequestHighPerformance = 1;
16inline __declspec(dllexport) unsigned int NvOptimusEnablement = 0x00000001;
18
19#elif GALAXY_UNIX_PLATFORM
20
21inline int AmdPowerXpressRequestHighPerformance = 1;
22inline unsigned int NvOptimusEnablement = 0x00000001;
24
25#endif
26
27namespace galaxy
28{
29 namespace platform
30 {
34 void seed_random() noexcept;
35 } // namespace platform
36} // namespace galaxy
37
38#endif
void seed_random() noexcept
Seed the cstdlib rng algos.
Definition Platform.cpp:19
Application.hpp galaxy.