UNPKG

@thi.ng/webgl

Version:

WebGL & GLSL abstraction layer

6 lines 507 B
import type { IObjectOf } from "@thi.ng/api"; import type { Sym, Term } from "@thi.ng/shader-ast"; import type { ShaderPresetOpts } from "./api/shader.js"; export declare const positionAttrib: (opts: Partial<ShaderPresetOpts<any>>, attribs: IObjectOf<Sym<any>>, pos?: string) => Sym<any> | import("@thi.ng/shader-ast").Op2<any>; export declare const colorAttrib: (opts: Partial<ShaderPresetOpts<any>>, attribs: IObjectOf<Sym<any>>, fallback: Sym<"vec3">) => Term<"vec3">; //# sourceMappingURL=utils.d.ts.map