const RenderToTexture: LiveComponent<RenderToTextureProps>
Render to a given off-screen target, or the current target (if inside a <RenderTarget>
).
UseGPURenderContext
( texture: TextureTarget, ) => LiveElement
LiveElement | ( texture: TextureTarget, ) => LiveElement
packages / workbench / src / render / render-to-texture.ts