polygonjs-engine
Version:
node-based webgl 3D engine https://polygonjs.com
29 lines (28 loc) • 1.25 kB
TypeScript
/**
* Allows to create a uniform which can be modified from the material params panel
*
*
*/
import { TypedGlNode } from './_Base';
import { GlConnectionPointType } from '../utils/io/connections/Gl';
import { NodeParamsConfig } from '../utils/params/ParamsConfig';
import { ParamType } from '../../poly/ParamType';
import { ShadersCollectionController } from './code/utils/ShadersCollectionController';
declare class ParamGlParamsConfig extends NodeParamsConfig {
name: import("../utils/params/ParamsConfig").ParamTemplate<ParamType.STRING>;
type: import("../utils/params/ParamsConfig").ParamTemplate<ParamType.INTEGER>;
as_color: import("../utils/params/ParamsConfig").ParamTemplate<ParamType.BOOLEAN>;
}
export declare class ParamGlNode extends TypedGlNode<ParamGlParamsConfig> {
params_config: ParamGlParamsConfig;
static type(): Readonly<'param'>;
protected _allow_inputs_created_from_params: boolean;
private _on_create_set_name_if_none_bound;
initializeNode(): void;
set_lines(shaders_collection_controller: ShadersCollectionController): void;
set_param_configs(): void;
uniform_name(): string;
set_gl_type(type: GlConnectionPointType): void;
private _on_create_set_name_if_none;
}
export {};