Draw technique for rendering meshes for picking, generic for all primitive types.

Hierarchy (View Summary)

Constructors

Properties

edges: boolean

When true, the technique binds silhouette-related uniforms using "edge" material settings (edgeColor/edgeAlpha) instead of fill settings (fillColor/fillAlpha).

Used by silhouette-like techniques that can render both filled silhouettes and edge silhouettes.

errors: string[]

Compilation errors encountered during program initialization. Available after init() is called.

fragmentShaderCommentedSrc: string

Fragment shader source code with comments included.

Note that comments are not supported in WebGL shader compilation, so this is for debugging/inspection purposes only.

Available after init() is called.

fragmentShaderSrc: string

Fragment shader source code. Available after init() is called.

picking: boolean

When true, the technique binds uniforms for picking rendering (e.g., pickZNear/pickZFar) and uses picking-specific draw ranges from the batch's view data textures.

Used by the pick rendering pass to render meshes with unique pick colors and output depth for picking.

vertexShaderCommentedSrc: string

Vertex shader source code with comments included.

Note that comments are not supported in WebGL shader compilation, so this is for debugging/inspection purposes only.

Available after init() is called.

vertexShaderSrc: string

Vertex shader source code. Available after init() is called.

Methods