UNPKG

cgas

Version:

Xtor Compute Geometry Algorithm Libary 计算几何算法库

12 lines (10 loc) 282 B
import { Thing } from "../thing"; import { GL, createProgram } from "../gl"; export class Material extends Thing { constructor() { super(); } compile(gl: GL) { this.cache = createProgram(gl, { vertexShader: "", fragmentShader: "" }); } }