-
-
Notifications
You must be signed in to change notification settings - Fork 56
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
Is there a way to draw graphics to ImageBuffers or Textures? #1070
Comments
I've started working a software rasterizer that implements
|
Should we do it with software? This is commonly achieved by a separate framebuffer; afaik gfx supports it from years ago. |
I'd love to use this in an http server. Is that possible at the moment? |
I believe it's possible, but it depends on the graphics backend. |
Sorry for bringing this one up again, is there a relatively simple way to draw graphics (like a line) to a texture which later gets drawn to the window (eg. via draw_2d)? |
@ivansandrk I think you need to configure OpenGL to use a texture for rendering. |
I haven't been able to find any obvious way to use
graphics
calls with ImageBuffers, but I may be missing some way to do it -- is it possible at all now?If it's not, would it be a good idea to have an implementation of Graphics for ImageBuffer?
The text was updated successfully, but these errors were encountered: