Component props
See ThreeRenderTexture.
Optionalattach?: AttachTypeRenderTarget Texture React Three Fiber attach
Children will be rendered into a portal
Optionalcompute?: ComputeFunctionOptional event compute for React Three Fiber events, defaults to undefined
OptionaleventPriority?: numberOptional event priority, defaults to 0
OptionalfpsLimit?: numberOptional FPS limit
Optionalframeloop?: "always" | "demand"Optional frameloop, defaults to "always"
Optionalheight?: numberOptional height of the texture, defaults to canvas parent bounds
OptionalobjectRef?: RefObject<Object3D<Object3DEventMap>>Optional Object3D for event computation, defaults to fiber parent if any
Optionaloptions?: RenderTargetOptionsOptional RenderTarget options
Optionalref?: Ref<TextureNode>Render TextureNode Ref
OptionalrenderPriority?: numberOptional render priority, defaults to 0
Optionalresolution?: numberOptional resolution of the texture, defaults to canvas parent resolution
Optionalwidth?: numberOptional width of the texture, defaults to canvas parent bounds
A Three.js RenderTarget containing React Three Fiber children.
It must be inside a ThreeScene component.