NodeLabelFramePass
Defined in: packages/sigma/src/rendering/nodes/labels/frame-pass.ts:163
Constructors
Section titled “Constructors”Constructor
Section titled “Constructor”new NodeLabelFramePass(
gl,options):NodeLabelFramePass
Defined in: packages/sigma/src/rendering/nodes/labels/frame-pass.ts:177
Parameters
Section titled “Parameters”WebGL2RenderingContext
options
Section titled “options”Returns
Section titled “Returns”NodeLabelFramePass
Properties
Section titled “Properties”FLOATS_PER_POINT
Section titled “FLOATS_PER_POINT”
readonlystaticFLOATS_PER_POINT:3=3
Defined in: packages/sigma/src/rendering/nodes/labels/frame-pass.ts:175
Floats per point in the input buffer: nodeIndex, positionMode, labelAngle.
Methods
Section titled “Methods”kill()
Section titled “kill()”kill():
void
Defined in: packages/sigma/src/rendering/nodes/labels/frame-pass.ts:276
Returns
Section titled “Returns”void
run(
pointData,count,frameTexture,params,attributeTexture):void
Defined in: packages/sigma/src/rendering/nodes/labels/frame-pass.ts:230
Writes the normalized edge distance into frameTexture for every label in
pointData (an interleaved [nodeIndex, positionMode, labelAngle] array
of count points). The per-node rotation alignment is read from the
node-data texture (already bound). Leaves the framebuffer/viewport for the
caller to restore (the post-offscreen reset).
Parameters
Section titled “Parameters”pointData
Section titled “pointData”Float32Array
number
frameTexture
Section titled “frameTexture”params
Section titled “params”attributeTexture
Section titled “attributeTexture”ItemAttributeTexture | null
Returns
Section titled “Returns”void