1 2 3 4 5 6 7 8 9 10
#pragma once #include <cstdint> struct OglImage { uint32_t glHandle; OglImage(); ~OglImage(); void upload(const char* data, int w, int h); };