MCPcopy Create free account
hub / github.com/KhronosGroup/Vulkan-Samples / read_asset

Function read_asset

components/filesystem/src/legacy.cpp:107–110  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

105}
106
107std::vector<uint8_t> read_asset(const std::string &filename)
108{
109 return vkb::filesystem::get()->read_file_binary(path::get(path::Type::Assets) + filename);
110}
111
112std::string read_text_file(const std::string &filename)
113{

Callers 3

FontMethod · 0.85
loadMethod · 0.85
loadMethod · 0.85

Calls 2

read_file_binaryMethod · 0.80
getFunction · 0.70

Tested by

no test coverage detected