UNPKG

polygonjs-engine

Version:

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

47 lines (46 loc) 2.45 kB
/** * Creates a Points Material, which can be extended with GL nodes. * * @remarks * This node can create children, which will be GL nodes. The GLSL code generated by the nodes will extend the Material. * */ import { NodeParamsConfig } from '../utils/params/ParamsConfig'; import { DepthController } from './utils/DepthController'; import { ShaderAssemblerPoints } from '../gl/code/assemblers/materials/Points'; import { TypedBuilderMatNode } from './_BaseBuilder'; import { AssemblerName } from '../../poly/registers/assemblers/_BaseRegister'; declare const PointsMatParamsConfig_base: { new (...args: any[]): { skinning: import("../utils/params/ParamsConfig").ParamTemplate<import("../../poly/ParamType").ParamType.BOOLEAN>; }; } & { new (...args: any[]): { depthWrite: import("../utils/params/ParamsConfig").ParamTemplate<import("../../poly/ParamType").ParamType.BOOLEAN>; depthTest: import("../utils/params/ParamsConfig").ParamTemplate<import("../../poly/ParamType").ParamType.BOOLEAN>; }; } & { new (...args: any[]): { doubleSided: import("../utils/params/ParamsConfig").ParamTemplate<import("../../poly/ParamType").ParamType.BOOLEAN>; front: import("../utils/params/ParamsConfig").ParamTemplate<import("../../poly/ParamType").ParamType.BOOLEAN>; }; } & { new (...args: any[]): { transparent: import("../utils/params/ParamsConfig").ParamTemplate<import("../../poly/ParamType").ParamType.BOOLEAN>; opacity: import("../utils/params/ParamsConfig").ParamTemplate<import("../../poly/ParamType").ParamType.FLOAT>; alphaTest: import("../utils/params/ParamsConfig").ParamTemplate<import("../../poly/ParamType").ParamType.FLOAT>; useFog: import("../utils/params/ParamsConfig").ParamTemplate<import("../../poly/ParamType").ParamType.BOOLEAN>; }; } & typeof NodeParamsConfig; declare class PointsMatParamsConfig extends PointsMatParamsConfig_base { } export declare class PointsBuilderMatNode extends TypedBuilderMatNode<ShaderAssemblerPoints, PointsMatParamsConfig> { params_config: PointsMatParamsConfig; static type(): string; usedAssembler(): Readonly<AssemblerName.GL_POINTS>; protected _create_assembler_controller(): import("../gl/code/Controller").GlAssemblerController<ShaderAssemblerPoints> | undefined; readonly depth_controller: DepthController; initializeNode(): void; cook(): Promise<void>; } export {};