@tresjs/cientos 4.0.0-rc.0 → 4.0.0-rc.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -3,14 +3,17 @@ import { FboOptions } from '.';
3
3
  declare const _default: import('vue').DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToOption<FboOptions>, {
4
4
  depth: boolean;
5
5
  settings: undefined;
6
+ autoRender: boolean;
6
7
  }>, {
7
8
  instance: import('vue').Ref<import('three').WebGLRenderTarget<import('three').Texture> | null>;
8
9
  }, unknown, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToOption<FboOptions>, {
9
10
  depth: boolean;
10
11
  settings: undefined;
12
+ autoRender: boolean;
11
13
  }>>>, {
12
14
  settings: import('three').RenderTargetOptions;
13
15
  depth: boolean;
16
+ autoRender: boolean;
14
17
  }, {}>;
15
18
  export default _default;
16
19
  type __VLS_WithDefaults<P, D> = {
@@ -6,5 +6,13 @@ export interface FboOptions {
6
6
  height?: number;
7
7
  depth?: boolean;
8
8
  settings?: RenderTargetOptions;
9
+ /**
10
+ * Whether to automatically render the FBO on the default scene.
11
+ *
12
+ * @default true
13
+ * @type {boolean}
14
+ * @memberof FboProps
15
+ */
16
+ autoRender?: boolean;
9
17
  }
10
18
  export declare function useFBO(options: FboOptions): Ref<WebGLRenderTarget<import('three').Texture> | null>;