@flashport/flashport
Version:
FlashPort is a TypeScript 2D graphics library that largely replicates the Flash ActionScript 3.0 library
15 lines (14 loc) • 466 B
TypeScript
import { ByteArray } from "../utils/ByteArray";
export declare class Program3D extends Object {
fshader: WebGLShader;
vshader: WebGLShader;
program: WebGLProgram;
gl: WebGLRenderingContext;
private uniformLocations;
private attribLocations;
constructor();
upload(vcode: ByteArray, fcode: ByteArray): void;
dispose(): void;
getUniformLocation(name: string): WebGLUniformLocation;
getAttribLocation(name: string): number;
}