@pnext/three-loader
Version:
Potree loader for ThreeJS, converted and adapted to Typescript.
6 lines (5 loc) • 380 B
TypeScript
import { Color, Texture } from 'three';
import { IClassification, IGradient } from '../materials/types';
export declare function generateDataTexture(width: number, height: number, color: Color): Texture;
export declare function generateGradientTexture(gradient: IGradient): Texture;
export declare function generateClassificationTexture(classification: IClassification): Texture;