#ifndef ENGINE_INCLUDE_UTIL_FILES_H_ #define ENGINE_INCLUDE_UTIL_FILES_H_ #include #include #include namespace engine { namespace util { std::unique_ptr> ReadTextFile(const std::string& path); std::unique_ptr> ReadBinaryFile(const std::string& path); // Read an image file into a vector byte buffer. PNG and JPG support at a // minimum. Output format is R8G8B8A8_UINT std::unique_ptr> ReadImageFile(const std::string& path, int& width, int& height); } // namespace util } // namespace engine #endif