14 std::stringstream file_buffer;
15 std::ifstream file(FilePath);
16 SCL_CORE_ASSERT(file.is_open(),
"File \"{}\" not found.", FilePath.string());
18 file_buffer << file.rdbuf();
19 return file_buffer.str();
#define SCL_CORE_ASSERT(expr,...)
std::string LoadFile(const std::filesystem::path &FilePath)
Sculpto library prehompiled header. Defines common definitions, includes commonly used modules.