const RenderTarget: LiveComponent<RenderTargetProps>
Off-screen render target.
Place <Pass>
directly inside, or leave empty to use yielded target with <RenderToTexture>
.
number
number
number
Partial<GPUSamplerDescriptor>
GPUTextureFormat
GPUTextureFormat
GPUColor
ColorSpace
ColorSpace
number
number
boolean
string
( rttContext: OffscreenTarget, ) => LiveElement
LiveElement | ( rttContext: OffscreenTarget, ) => LiveElement
( target: TextureTarget, ) => LiveElement
packages / workbench / src / render / render-target.ts