1
0

optimize dx11 engine

This commit is contained in:
2026-01-05 16:51:58 +08:00
parent 7110becf66
commit 52916db08f
10 changed files with 152 additions and 117 deletions

View File

@@ -1,4 +1,6 @@
#include <cwchar>
#include <string>
#include <string_view>
#if defined(BASALT_OS_WINDOWS)
#define BSCHAR wchar_t
@@ -8,3 +10,10 @@
#define BSCHAR char
#define BSTEXT(x) x
#endif
namespace Basalt::Shared::Char {
using BSString = std::basic_string<BSCHAR>;
using BSStringView = std::basic_string_view<BSCHAR>;
}; // namespace Basalt::Shared::Char