flyskywhy / react-native-gcanvas

react native canvas based on gpu opengl glsl GCanvas -- A lightweight cross-platform graphics rendering engine. (超轻量的跨平台图形引擎)
Apache License 2.0
217 stars 21 forks source link

Virtual/In-Memory Canvas #68

Closed McMelonTV closed 11 months ago

McMelonTV commented 1 year ago

Is there a way to create a virtual (in-memory) canvas like with NodeJS canvas or do I always need to actually render it and have it in the DOM?

flyskywhy commented 1 year ago

No, you must render it, but can let it be invisible with offscreenCanvas={true}