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

Is headless support on Android and iOS? #2577

Closed
HeMing123 opened this issue Aug 16, 2024 · 2 comments
Closed

Is headless support on Android and iOS? #2577

HeMing123 opened this issue Aug 16, 2024 · 2 comments
Labels
documentation Improvements or additions to documentation

Comments

@HeMing123
Copy link

Description

I want to draw something 2D path to an Image, then used it as a texture of OpenGL .I found this headless,How can I use drawOffscreen on Android RN?thanks!

@HeMing123 HeMing123 added the documentation Improvements or additions to documentation label Aug 16, 2024
@wcandillon
Copy link
Contributor

yes it is: https://shopify.github.io/react-native-skia/docs/animations/textures/#under-the-hood
You don't need to use reanimated like in the example you can just use MakeOffscreen directly. I hope this helps.

@HeMing123
Copy link
Author

thanks

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
documentation Improvements or additions to documentation
Projects
None yet
Development

No branches or pull requests

2 participants