polygonjs-engine
Version:
node-based webgl 3D engine https://polygonjs.com
25 lines (24 loc) • 862 B
TypeScript
/**
* Generates a color
*
*
*/
import { TypedCopNode } from './_Base';
import { NodeParamsConfig } from '../utils/params/ParamsConfig';
declare class ColorCopParamsConfig extends NodeParamsConfig {
/** @param texture resolution */
resolution: import("../utils/params/ParamsConfig").ParamTemplate<import("../../poly/ParamType").ParamType.VECTOR2>;
/** @param color to generate */
color: import("../utils/params/ParamsConfig").ParamTemplate<import("../../poly/ParamType").ParamType.COLOR>;
}
export declare class ColorCopNode extends TypedCopNode<ColorCopParamsConfig> {
params_config: ColorCopParamsConfig;
static type(): string;
private _data_texture;
cook(): void;
private _create_data_texture;
private _create_pixel_buffer;
static PARAM_CALLBACK_reset(node: ColorCopNode): void;
private _reset;
}
export {};