@mocanvas/mocanvas · constant

MAX_TEXT_TEXTURE_PX

declare const MAX_TEXT_TEXTURE_PX = 4096

Hard cap on either canvas dimension, so a huge label cannot blow up the GPU.

mocanvas is built by Symbio. Free for non-commercial, non-profit and development use; commercial use needs an agreement. Not affiliated with or endorsed by tldraw.