UNPKG

regl-shape

Version:
14 lines (13 loc) 593 B
import { Regl, Buffer } from "regl"; import { ShaderDrawConfig, BufferAttribute } from ".."; export declare type MiterShaderAttributes = { lineEnd: BufferAttribute; lineTop: BufferAttribute; aColor: BufferAttribute; bColor: BufferAttribute; prevCoord: BufferAttribute; aCoord: BufferAttribute; bCoord: BufferAttribute; nextCoord: BufferAttribute; }; export declare function createMiterShader(regl: Regl, offsetBuffer: Buffer, baseOptions: ShaderDrawConfig<undefined>): import("regl").DrawCommand<import("regl").DefaultContext, import("../..").InnerShapeProps>;