Initial project import
This commit is contained in:
22
node_modules/@react-three/drei/core/Fbo.d.ts
generated
vendored
Normal file
22
node_modules/@react-three/drei/core/Fbo.d.ts
generated
vendored
Normal 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 {};
|
||||
Reference in New Issue
Block a user