UNPKG

@polygonjs/polygonjs

Version:

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

22 lines (21 loc) 1.61 kB
import { GlobalsBaseController } from './_Base'; import { GlobalsGlNode } from '../../Globals'; import { AttributeGlNode } from '../../Attribute'; import { GlConnectionPointType } from '../../../utils/io/connections/Gl'; import { BaseGlNodeType } from '../../_Base'; import { ShadersCollectionController } from '../utils/ShadersCollectionController'; import { GlobalsBaseControllerType } from './Common'; export declare class GlobalsGeometryHandler extends GlobalsBaseController { static PRE_DEFINED_ATTRIBUTES: string[]; static IF_RULE: { uv: string; }; type(): GlobalsBaseControllerType; handleGlobalsNode(globals_node: GlobalsGlNode, output_name: string, shaders_collection_controller: ShadersCollectionController): void; handleGlobalVar(globals_node: BaseGlNodeType, output_name: string, glType: GlConnectionPointType, shaders_collection_controller: ShadersCollectionController): void; static variable_config_default(variable_name: string): string | undefined; variable_config_default(variable_name: string): string | undefined; readAttribute(node: BaseGlNodeType, gl_type: GlConnectionPointType, attrib_name: string, shaders_collection_controller: ShadersCollectionController): string | undefined; static readAttribute(node: BaseGlNodeType, gl_type: GlConnectionPointType, attrib_name: string, shaders_collection_controller: ShadersCollectionController): string | undefined; handle_attribute_node(node: AttributeGlNode, gl_type: GlConnectionPointType, attrib_name: string, shaders_collection_controller: ShadersCollectionController): string | undefined; }