Photon Common Library 2.0.0-beta
A physically based renderer.
Loading...
Searching...
No Matches
os.cpp File Reference
#include "Common/os.h"
#include "Common/assertion.h"
#include <new>
#include <array>

Namespaces

namespace  ph
 The root for all renderer implementations.
 
namespace  ph::os
 

Functions

EWindowsVersion ph::os::get_windows_version ()
 Get current Windows version at runtime.
 
std::size_t ph::os::get_L1_cache_line_size_in_bytes ()
 Get size of L1 cache at runtime.
 
std::filesystem::path ph::os::get_executable_path ()
 Get the path to the currently running executable. Answering the question, "Where am I?".