Bicameral Engine
GPU-resident engine for a magic-research open-world game
Loading...
Searching...
No Matches
paths.h
Go to the documentation of this file.
1
// paths.h — 実行ファイルの場所から決まるフォルダ(シェーダー・ログ・トレースの既定の置き場所)。Windows 専用。
2
// PC 固有のパスを埋め込まないため、既定の置き場所はいつも exe の横にする(ADR-0006)。
3
#pragma once
4
5
#include <filesystem>
6
7
#include "
core/aliases.h
"
8
9
namespace
bicameral
{
10
11
// 実行中の exe のあるフォルダ(長いパスでも切り詰めない)。取れなければ空のパス(= 今のフォルダからの相対)
12
fs::path
ExecutableDirectory
();
13
14
}
// namespace bicameral
aliases.h
bicameral
Definition
aliases.h:12
bicameral::ExecutableDirectory
fs::path ExecutableDirectory()
Definition
paths.cpp:12
engine
src
core
paths.h
Generated by
1.15.0