UNPKG

@polygonjs/polygonjs

Version:

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

12 lines (11 loc) 307 B
"use strict"; import { AttributeGLDefinition } from "../../utils/GLDefinition"; export class AttributeConfig { constructor(_gl_type, _name) { this._gl_type = _gl_type; this._name = _name; } create_definition(node) { return new AttributeGLDefinition(node, this._gl_type, this._name); } }