inkyblackness / imgui-go-examples Goto Github PK
View Code? Open in Web Editor NEWExamples of Dear ImGui for Go
License: Other
Examples of Dear ImGui for Go
License: Other
I'm trying to implement imgui as a debug tool into my engine but struggling to understand how to attach imgui to an existing GLFW window instance. I've implemented a layer system after an initial window is created. Any help or advice here would be greatly appreciated!
I have been trying to imgui-go package and studying the examples in this repo but something isn't adding up. The examples all require an the internal package which isn't available to external clients. Is there an example that shows a typical hello-world using the imgui-go library using glfw. Worst case is I copy the internal platform and renderer into my own project but I was hoping to avoid that or perhaps I'm missing something.
Thanks.
Found through inkyblackness/imgui-go#98 , running an example with go run -race -tags 'sdl' .
, the race detector will fail at the call to gl.VertexAttribPointer(..., unsafe.Pointer(...))
.
This is due to the wrong signature of gl.VertexAttribPointer()
, which should actually use uintptr
as the last parameter.
This needs a fix in the lower library, tracked here: go-gl/gl#124
OS: Windows 7 latest
go version go1.16 windows/amd64
ran go get -u github.com/go-gl/glfw/v3.3/glfw
successfully.
inside root path of examples:
\imgui-go-examples\cmd\example_glfw_opengl2>go run -tags 'glfw' .
exit status 3221225477
same occurs with opengl3
Hi, dose imgui-go support webassembly ? I hope it can work in web browser.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.