Creates a THREE.WebGLRenderTarget or THREE.WebGLMultisampleRenderTarget.

const target = useFBO(
  // width: 500,  height: 500,
  // width and height are optional and defaulted to the viewport size
  // multiplied by the renderer pixel ratio, and recalculated whenever the
  // viewport size changes.
    multisample: true, // if the renderer supports webGL2, it will return a WebGLMultisampleRenderTarget
    stencilBuffer: false, // you can pass any options supported by THREE.WebGLRenderTarget

The rendertarget is automatically disposed when unmounted.