UNPKG

nanogl-pbr

Version:
15 lines (14 loc) 540 B
import type MorphDeformer from "./MorphDeformer"; export declare const WEIGHTS_UNIFORM = "uMorphWeights"; export declare type MorphAttributeType = 'float' | 'vec2' | 'vec3' | 'vec4'; export declare type MorphAttributeName = 'position' | 'normal' | 'tangent'; export declare type MorphAttribInfos = { type: MorphAttributeType; name: MorphAttributeName; attributes: string[]; }; declare const MorphCode: { preVertexCode(morph: MorphDeformer): string; vertexCode(morph: MorphDeformer): string; }; export default MorphCode;