pex-context
Version:
Modern WebGL state wrapper for PEX: allocate GPU resources (textures, buffers), setup state pipelines and passes, and combine them into commands.
10 lines (9 loc) • 534 B
TypeScript
export const NAMESPACE: "pex-context";
export function isWebGL2(gl: any): boolean;
export function isObject(obj: any): boolean;
export function is2DArray(arr: any): any;
export function checkProps(allowedProps: any, obj: any): void;
export function compareFBOAttachments(framebuffer: any, passOpts: any): boolean;
export function getUniformLocation(gl: any, program: any, name: any): any;
export function enableVertexData(ctx: any, vertexLayout: any, cmd: any, updateState: any): void;
export function draw(ctx: any, cmd: any): void;