UNPKG

modern-canvas

Version:

A JavaScript WebGL rendering engine. only the ESM.

13 lines (12 loc) 306 B
import { GlFormat, GlTarget, GlType } from './const'; export declare class GlTexture { native: WebGLTexture; target: GlTarget; width: number; height: number; mipmap: boolean; type: GlType; internalFormat: GlFormat; format: GlFormat; constructor(native: WebGLTexture); }