Hierarchy

Constructors

Properties

state: { model: Model; positions: Buffer; texCoords: Buffer }
layerName: string = 'TriangleLayerContours'

Methods

  • Returns { fs: string; modules: ShaderModule[]; vs: string }

  • Called once to set up the initial state. Layers can create WebGL resources here.

    Parameters

    • __namedParameters: LayerContext

    Returns void