On this page

Class ColoringFragmentBase

Hierarchy (View Summary)

Index

Constructors

Methods

  • Get the value in the unit interval [0, 1] computed with .decode.min and .decode.max

    Parameters

    • value: number

    Returns number

  • Get real world values of the given pixel (with rgb or rgba in [0, 1]) for the channel(s) specified in .decode.channel

    Parameters

    Returns number | number[]

  • Given a value in the unit interval [0, 1] get the real world value bounded by .decode.min and .decode.max

    Parameters

    • value: number

    Returns number

  • Generate shader/GLSL code for blending

    Parameters

    • name: string

    Returns string

  • Generate shader/GLSL code

    Parameters

    • name: string

    Returns string

Was this helpful?
SDK JS
Modules
Reference
classes
ColoringFragmentBase