Skip to content
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

[Question] [2D] Documentation for off-screen rendering? #537

Closed
klemmm opened this issue Oct 23, 2019 · 2 comments
Closed

[Question] [2D] Documentation for off-screen rendering? #537

klemmm opened this issue Oct 23, 2019 · 2 comments
Labels
documentation-hard Documentation on specific structures, functions, etc documentation-soft High-level documentation like tutorials or faqs subsystem-graphics

Comments

@klemmm
Copy link

klemmm commented Oct 23, 2019

Hello,

Could you provide in the documentation/tutorial an example using the off-screen rendering (i.e. render stuff to a Surface, then get the image from the Surface) ? I did not find any (my apologies in the case I missed it).

Thank you in advance.

@ryanisaacg
Copy link
Owner

Unfortunately there aren't great docs for off-screen rendering with the current version, and it generally doesn't work very well. Upcoming in the next major version will be a better off-screen rendering API and more documentation on how to use it. You can check out the Surface docs for now in the meantime.

@ryanisaacg ryanisaacg added documentation-hard Documentation on specific structures, functions, etc documentation-soft High-level documentation like tutorials or faqs subsystem-graphics labels Oct 23, 2019
@ryanisaacg ryanisaacg added this to the Improved Graphics API milestone Nov 21, 2019
@ryanisaacg
Copy link
Owner

The new graphics API now has an example that renders to a Surface, and then uses its Image. Let me know if you have any more questions, and feel free to re-open if necessary.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
documentation-hard Documentation on specific structures, functions, etc documentation-soft High-level documentation like tutorials or faqs subsystem-graphics
Projects
None yet
Development

No branches or pull requests

2 participants