Favivon - Correção

This commit is contained in:
2026-05-30 19:59:39 -03:00
parent 76ddaa815d
commit d7dfd221f0
32859 changed files with 5459654 additions and 404 deletions
+22
View File
@@ -0,0 +1,22 @@
import * as React from 'react';
import * as THREE from 'three';
import { type RenderTargetOptions } from 'three';
type FBOSettings = {
depth?: boolean;
} & RenderTargetOptions;
export declare function useFBO(width?: number | FBOSettings, height?: number, settings?: FBOSettings): THREE.WebGLRenderTarget<THREE.Texture>;
type UseFBOParams = Parameters<typeof useFBO>;
type Fbo = ReturnType<typeof useFBO>;
export type FboProps = {
children?: (target: Fbo) => React.ReactNode;
width?: UseFBOParams[0];
height?: UseFBOParams[1];
} & FBOSettings;
export declare const Fbo: React.ForwardRefExoticComponent<{
children?: (target: Fbo) => React.ReactNode;
width?: UseFBOParams[0];
height?: UseFBOParams[1];
} & {
depth?: boolean;
} & THREE.RenderTargetOptions & React.RefAttributes<THREE.WebGLRenderTarget<THREE.Texture>>>;
export {};