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) • 339 B
TypeScript
export default createVertexArray;
export type VertexArrayOptions = import("./types.js").PexResource;
/**
* @typedef {import("./types.js").PexResource} VertexArrayOptions
* @property {object} vertexLayout
* @property {object} [attributes]
* @property {object} [indices]
*/
declare function createVertexArray(ctx: any, opts: any): any;