lamina
Version:
🍰 An extensable, layer based shader material for ThreeJS.
23 lines (22 loc) • 693 B
TypeScript
import { LayerMaterialProps } from '../types';
export declare function getUniform(value: any): any;
export declare function getSpecialParameters(label: string): {
min: number;
max: number;
image?: undefined;
} | {
min: number;
max?: undefined;
image?: undefined;
} | {
image: undefined;
min?: undefined;
max?: undefined;
} | {
min?: undefined;
max?: undefined;
image?: undefined;
};
export declare function getLayerMaterialArgs({ color, alpha, lighting, name, ...rest }?: LayerMaterialProps & any): any;
export declare function isSerializableType(prop: any): boolean;
export declare function serializeProp(prop: any): any;