Class TransparentLineStrip

Similar to LineStrip, but without the alpha overlap artifacts. Uses six times as many draw calls as LineStrip, so can be slower if you're CPU bound. Unlike LineStrip, per-vertex color and width is not supported; the color and width is constant for each TransparentLineStrip.

Hierarchy

Constructors

Properties

capCells: Elements
capPositions: Buffer
color: Vector4
joinCells: Elements
joinIds: Buffer
segmentCells: Elements
segmentPositions: Buffer
width: number

Methods

  • Releases all GPU resources and renders this instance unusable.

    Returns void

Generated using TypeDoc