💬

Community answer

Collected from the ACE community Discord archive around 2024-05-25. It may be informal or outdated — anyone can edit this page to improve it. Original discussion

Caching screen drawing in a render target

🖼️ RenderingUpdated 2 days ago•0 views
Draw once into a render target (hook RenderOffscreen / render.selectRenderTarget), then reuse it as a material texture on screen - avoids per-tick redraw cost.

Is there a renderTarget example so I don't redraw shapes every render tick

Draw once into a render target (hook RenderOffscreen / render.selectRenderTarget), then reuse it as a material texture on screen - avoids per-tick redraw cost.

Was this article helpful?

See More

Discussion(0)

No comments yet. Be the first to ask a question!

Have a question? Sign in to join the discussion.