glodrei
Version:
useful add-ons for react-three-fiber
10 lines (9 loc) • 402 B
TypeScript
import { BufferAttributeProps } from '@react-three/fiber';
import * as React from 'react';
import { BufferAttribute, BufferGeometry } from 'three';
type Props = {
compute: (geometry: BufferGeometry) => BufferAttribute;
name: string;
};
export declare const ComputedAttribute: ({ compute, name, ...props }: React.PropsWithChildren<Props & BufferAttributeProps>) => React.JSX.Element;
export {};