UNPKG

@polygonjs/polygonjs

Version:

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

26 lines (25 loc) 1.73 kB
import { ShaderAssemblerMaterial, CustomAssemblerMap } from './_BaseMaterial'; import { ShaderConfig } from '../../configs/ShaderConfig'; import { VariableConfig } from '../../configs/VariableConfig'; import { ShaderName } from '../../../../utils/shaders/ShaderName'; import { OutputGlNode } from '../../../Output'; import { GlConnectionPointType, GlConnectionPoint } from '../../../../utils/io/connections/Gl'; import { LineBasicMaterial } from 'three'; export declare class ShaderAssemblerLine extends ShaderAssemblerMaterial { templateShader(): { vertexShader: string; fragmentShader: string; uniforms: { [uniform: string]: import("three").IUniform<any>; }; }; createMaterial(): LineBasicMaterial; customAssemblerClassByCustomName(): CustomAssemblerMap; create_shader_configs(): ShaderConfig[]; static output_input_connection_points(): (GlConnectionPoint<GlConnectionPointType.VEC3> | GlConnectionPoint<GlConnectionPointType.VEC2> | GlConnectionPoint<GlConnectionPointType.FLOAT>)[]; add_output_inputs(output_child: OutputGlNode): void; static create_globals_node_output_connections(): (GlConnectionPoint<GlConnectionPointType.VEC3> | GlConnectionPoint<GlConnectionPointType.VEC2> | GlConnectionPoint<GlConnectionPointType.VEC4> | GlConnectionPoint<GlConnectionPointType.FLOAT>)[]; create_globals_node_output_connections(): (GlConnectionPoint<GlConnectionPointType.VEC3> | GlConnectionPoint<GlConnectionPointType.VEC2> | GlConnectionPoint<GlConnectionPointType.VEC4> | GlConnectionPoint<GlConnectionPointType.FLOAT>)[]; create_variable_configs(): VariableConfig[]; protected linesToRemove(shader_name: ShaderName): string[] | undefined; }