Skip to main content

Class: abstract AbstractProgram<N, E, G>

Defined in: sigma/src/rendering/program.ts:37

Extended by

Type Parameters

N extends Attributes = Attributes

E extends Attributes = Attributes

G extends Attributes = Attributes

Constructors

new AbstractProgram()

new AbstractProgram<N, E, G>(_gl, _pickGl, _renderer): AbstractProgram<N, E, G>

Defined in: sigma/src/rendering/program.ts:42

Parameters

_gl

WebGLRenderingContext

_pickGl

WebGLRenderingContext

_renderer

Sigma<N, E, G>

Returns

AbstractProgram<N, E, G>

Methods

kill()

abstract kill(): void

Defined in: sigma/src/rendering/program.ts:45

Returns

void


reallocate()

abstract reallocate(capacity): void

Defined in: sigma/src/rendering/program.ts:43

Parameters

capacity

number

Returns

void


render()

abstract render(params): void

Defined in: sigma/src/rendering/program.ts:44

Parameters

params

RenderParams

Returns

void