UNPKG

@flashport/flashport

Version:

FlashPort is a TypeScript 2D graphics library that largely replicates the Flash ActionScript 3.0 library

14 lines (13 loc) 486 B
import { GLVertexBufferSet } from "../../flash/__native/GLVertexBufferSet"; import { GLIndexBufferSet } from "./GLIndexBufferSet"; export declare class GLDrawable { pos: GLVertexBufferSet; uv: GLVertexBufferSet; private _color; private usage; index: GLIndexBufferSet; numTriangles: number; constructor(posData: Float32Array, uvData: Float32Array, iData: Uint16Array, usage: number); get color(): GLVertexBufferSet; set color(v: GLVertexBufferSet); }