UNPKG

cgas

Version:

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

15 lines (11 loc) 264 B
import { Thing } from "../thing"; import { GL } from "../gl" export class Texture extends Thing { constructor() { super(); } compile(gl: GL) { this.cache = gl.createTexture(); this.cache as WebGLTexture } }