Bicameral Engine
GPU-resident engine for a magic-research open-world game
Loading...
Searching...
No Matches
aliases.h
Go to the documentation of this file.
1// aliases.h — 標準ライブラリの入れ子の名前空間を短く書くための別名(docs/style.md「短い名前」)。
2//
3// namespace bicameral の中だけに入れる。std 直下の型と関数(std::optional など)は短くしない(std:: を付けて書く)。
4// ここに足すのは、あちこちで使うものだけ。1 つのファイルでしか使わない長い名前空間は、そのファイルの中で短くする。
5// windows.h も D3D12 も読まない(bicameral_view のように GPU を知らない所からも使う)。ComPtr は gpu/com_ptr.h。
6#pragma once
7
8#include <chrono>
9#include <filesystem>
10#include <ranges>
11
12namespace bicameral {
13
14 namespace fs = std::filesystem;
15 namespace rng = std::ranges;
16 namespace views = std::views;
17 namespace chr = std::chrono;
18
19} // namespace bicameral