polygonjs-engine
Version:
node-based webgl 3D engine https://polygonjs.com
19 lines (18 loc) • 1.35 kB
TypeScript
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';
export declare class GlobalsGeometryHandler extends GlobalsBaseController {
static PRE_DEFINED_ATTRIBUTES: string[];
static IF_RULE: {
uv: string;
};
handle_globals_node(globals_node: GlobalsGlNode, output_name: string, shaders_collection_controller: ShadersCollectionController): void;
static variable_config_default(variable_name: string): string | undefined;
variable_config_default(variable_name: string): string | undefined;
read_attribute(node: BaseGlNodeType, gl_type: GlConnectionPointType, attrib_name: string, shaders_collection_controller: ShadersCollectionController): string | undefined;
static read_attribute(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;
}