UNPKG

polygonjs-engine

Version:

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

26 lines (25 loc) 1.76 kB
import { ShaderMaterial } from 'three/src/materials/ShaderMaterial'; 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'; export declare class ShaderAssemblerLine extends ShaderAssemblerMaterial { get _template_shader(): { vertexShader: string; fragmentShader: string; uniforms: { [uniform: string]: import("three").IUniform; }; }; create_material(): ShaderMaterial; custom_assembler_class_by_custom_name(): 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 lines_to_remove(shader_name: ShaderName): string[] | undefined; }