• Return the size of the GlType in bytes

    Parameters

    • gl: WebGLRenderingContext
    • type: number

    Returns number