blob: b220f764096f7607a426f46a121bb979a2a509cf (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
|
#pragma once
#include <imgui.h>
#include <cstdint>
struct OglImage {
uint32_t glHandle;
OglImage();
~OglImage();
void upload(const char* data, int w, int h);
ImTextureID as_imgui() const;
};
|