Function convertWebGLConstant

  • Converts a xeokit SDK constant to its eauivalent WebGL2 constant/enumeration value.

    Parameters

    • gl: WebGL2RenderingContext
    • constantVal: number
    • Optionalencoding: number

    Returns any