We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ae7f2e1 commit 07c7063Copy full SHA for 07c7063
backend/texture.go
@@ -12,6 +12,10 @@ import (
12
"github.com/AllenDang/cimgui-go/imgui"
13
)
14
15
+// Texture implements a simple texture loader. It wraps backend's methods to allow creating textures easily.
16
+// IMPORTANT: as the texture is mainly handled by C OpenGL, it is not covered by Garbae Collector (GC).
17
+//
18
+// Remember to call (*Texture).Release when you no longer need it.
19
type Texture struct {
20
ID imgui.TextureID
21
Width int
0 commit comments