@polygonjs/polygonjs
Version:
node-based WebGL 3D engine https://polygonjs.com
34 lines (33 loc) • 1.98 kB
TypeScript
/**
* smoothes an attribute between neighbouring points
*
*
*
*/
import { TypedGlNode } from './_Base';
import { NodeParamsConfig } from '../utils/params/ParamsConfig';
import { ShadersCollectionController } from './code/utils/ShadersCollectionController';
import { GlConnectionPointType } from '../utils/io/connections/Gl';
import { GlType } from '../../poly/registers/nodes/types/Gl';
declare class AdjacentPointsAttribSmoothGlParamsConfig extends NodeParamsConfig {
positionAttribName: import("../utils/params/ParamsConfig").ParamTemplate<import("../../index_all").ParamType.STRING>;
position: import("../utils/params/ParamsConfig").ParamTemplate<import("../../index_all").ParamType.VECTOR3>;
textureSize: import("../utils/params/ParamsConfig").ParamTemplate<import("../../index_all").ParamType.VECTOR2>;
adjacencyCount: import("../utils/params/ParamsConfig").ParamTemplate<import("../../index_all").ParamType.FLOAT>;
adjacencyBaseName: import("../utils/params/ParamsConfig").ParamTemplate<import("../../index_all").ParamType.STRING>;
attribName: import("../utils/params/ParamsConfig").ParamTemplate<import("../../index_all").ParamType.STRING>;
attribValue: import("../utils/params/ParamsConfig").ParamTemplate<import("../../index_all").ParamType.FLOAT>;
deltaThreshold: import("../utils/params/ParamsConfig").ParamTemplate<import("../../index_all").ParamType.FLOAT>;
smoothAmount: import("../utils/params/ParamsConfig").ParamTemplate<import("../../index_all").ParamType.FLOAT>;
}
export declare class AdjacentPointsAttribSmoothGlNode extends TypedGlNode<AdjacentPointsAttribSmoothGlParamsConfig> {
paramsConfig: AdjacentPointsAttribSmoothGlParamsConfig;
static type(): GlType;
initializeNode(): void;
glType(): GlConnectionPointType;
attributeName(): string;
setLines(linesController: ShadersCollectionController): void;
textureAllocationData(): string[];
private _templateFunctionDefinition;
}
export {};