sigma
Version:
A JavaScript library dedicated to graph drawing.
17 lines (16 loc) • 620 B
TypeScript
/**
* Sigma.js WebGL Renderer Node Program
* =====================================
*
* Simple program rendering nodes using GL_POINTS. This is faster than the
* three triangle option but has some quirks and is not supported equally by
* every GPU.
* @module
*/
import { NodeAttributes } from "../../../types";
import { AbstractNodeProgram, RenderNodeParams } from "./common/node";
export default class NodeProgramFast extends AbstractNodeProgram {
constructor(gl: WebGLRenderingContext);
process(data: NodeAttributes, hidden: boolean, offset: number): void;
render(params: RenderNodeParams): void;
}