#pragma once #include #include struct OglImage { uint32_t glHandle; OglImage(); ~OglImage(); void upload(const char* data, int w, int h); ImTextureID as_imgui() const; };