Git Product home page Git Product logo

imgui-go-examples's People

Contributors

dertseha avatar jetsetilly avatar konstantin8105 avatar ptxmac avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar

imgui-go-examples's Issues

How can I attach imgui to an existing GLFW window?

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!

Client example available?

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.

checkptr failure

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

exit status 3221225477

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

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.