diff options
| author | ladevieq <ladevie.quentin@gmail.com> | 2020-12-27 13:12:46 +0100 |
|---|---|---|
| committer | ladevieq <ladevie.quentin@gmail.com> | 2020-12-27 13:12:46 +0100 |
| commit | fc6ef799b34ac9ddb147e41b487deaf70da20f55 (patch) | |
| tree | 3d736bb9cd75a94886f585eed67e2d4a489c6d6c /include/utils.hpp | |
| parent | ca0b2f48c5017b5fb615f5db0755e4f730de4fd7 (diff) | |
Util to read shader file content
Diffstat (limited to 'include/utils.hpp')
| -rw-r--r-- | include/utils.hpp | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/include/utils.hpp b/include/utils.hpp new file mode 100644 index 0000000..efa007d --- /dev/null +++ b/include/utils.hpp @@ -0,0 +1,10 @@ +#ifndef __UTILS_HPP_ +#define __UTILS_HPP_ + +#include <cstdint> + +#include <vector> + +std::vector<uint8_t> get_shader_code(const char* path); + +#endif // !__UTILS_HPP_ |
