-
Notifications
You must be signed in to change notification settings - Fork 101
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Any example on how to display images? #51
Comments
@Chownie You should bind it to a texture. |
I made a function based on above example. Call it during setup/initialization:
Then, in the drawing loop, call
This function should be part of the library, in etc.go. |
@jkvatne A small PR is appreciated, let's add it to etc? |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Looking at Nuklear and the godoc for this project I'd thought that perhaps I load images via the standard library's image.Image and then pass an unsafe pointer to the loaded struct but this doesn't seem to be the case.
I can't quite seem to find how it's done, how do you load and use images with these Go bindings?
The text was updated successfully, but these errors were encountered: