UNPKG

@gltf-transform/extensions

Version:

Adds extension support to @gltf-transform/core

14 lines (13 loc) 503 B
import { ExtensionProperty } from '@gltf-transform/core'; import { PropertyType } from '@gltf-transform/core'; import { KHR_MATERIALS_UNLIT } from '../constants.js'; /** * Converts a PBR {@link Material} to an unlit shading model. See {@link KHRMaterialsUnlit}. */ export declare class Unlit extends ExtensionProperty { static EXTENSION_NAME: string; extensionName: typeof KHR_MATERIALS_UNLIT; propertyType: 'Unlit'; parentTypes: [PropertyType.MATERIAL]; protected init(): void; }