@threlte/extras
Version:
Utilities, abstractions and plugins for your Threlte apps
15 lines (14 loc) • 370 B
TypeScript
/**
* Use in combination with the Mask component.
*
* @param id number to link useMask objects with <Mask>
* @param inverse inverse the mask
*/
export declare const useMask: (id?: number, inverse?: boolean) => {
stencilRef: number;
stencilWrite: boolean;
stencilFunc: 514 | 517;
stencilFail: 7680;
stencilZFail: 7680;
stencilZPass: 7680;
};