Initial project import
This commit is contained in:
17
node_modules/@react-three/drei/core/Mask.d.ts
generated
vendored
Normal file
17
node_modules/@react-three/drei/core/Mask.d.ts
generated
vendored
Normal file
@@ -0,0 +1,17 @@
|
||||
import * as THREE from 'three';
|
||||
import { ForwardRefComponent } from '../helpers/ts-utils';
|
||||
import { ThreeElements } from '@react-three/fiber';
|
||||
export type MaskProps = Omit<ThreeElements['mesh'], 'ref' | 'id'> & {
|
||||
id: number;
|
||||
colorWrite?: boolean;
|
||||
depthWrite?: boolean;
|
||||
};
|
||||
export declare const Mask: ForwardRefComponent<MaskProps, THREE.Mesh>;
|
||||
export declare function useMask(id: number, inverse?: boolean): {
|
||||
stencilWrite: boolean;
|
||||
stencilRef: number;
|
||||
stencilFunc: 514 | 517;
|
||||
stencilFail: 7680;
|
||||
stencilZFail: 7680;
|
||||
stencilZPass: 7680;
|
||||
};
|
||||
Reference in New Issue
Block a user