UNPKG

@polygonjs/polygonjs

Version:

node-based WebGL 3D engine https://polygonjs.com

20 lines (19 loc) 885 B
import { Texture } from 'three'; import { TypedCopNode } from './_Base'; import { NodeParamsConfig } from '../utils/params/ParamsConfig'; import { CopType } from '../../poly/registers/nodes/types/Cop'; declare class LutCopParamsConfig extends NodeParamsConfig { /** @param url to fetch the lut from */ url: import("../utils/params/ParamsConfig").ParamTemplate<import("../../index_all").ParamType.STRING>; /** @param reload the image */ reload: import("../utils/params/ParamsConfig").ParamTemplate<import("../../index_all").ParamType.BUTTON>; } export declare class LutCopNode extends TypedCopNode<LutCopParamsConfig> { paramsConfig: LutCopParamsConfig; static type(): CopType; initializeNode(): void; cook(input_contents: Texture[]): Promise<void>; static PARAM_CALLBACK_reload(node: LutCopNode): void; private paramCallbackReload; } export {};