UNPKG

@polygonjs/polygonjs

Version:

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

24 lines (23 loc) 869 B
import { TypedNode } from '../_Base'; import { Texture } from 'three'; import { NodeParamsConfig } from '../utils/params/ParamsConfig'; import { NodeContext } from '../../poly/NodeContext'; import { FlagsControllerBO } from '../utils/FlagsController'; /** * * * TypedCopNode is the base class for all nodes that process textures. This inherits from [TypedNode](/docs/api/TypedNode). * */ export declare class TypedCopNode<K extends NodeParamsConfig> extends TypedNode<NodeContext.COP, K> { readonly flags: FlagsControllerBO; static context(): NodeContext; initializeBaseNode(): void; private ___textureSync; __textureSync__(): Texture | undefined; setTexture(texture: Texture): void; protected _clearTexture(): void; } export type BaseCopNodeType = TypedCopNode<any>; export declare class BaseCopNodeClass extends TypedCopNode<any> { }