UNPKG

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) 240 B
export default createPass; export type PassOptions = import("./types.js").PexResource; declare function createPass(ctx: any, opts: any): { class: string; opts: any; clearColor: any; clearDepth: any; _dispose(): void; };