Skip to main content

GLDrawLoadImage

Callable


  • Loads image texture data


    Parameters

    • gl: WebGL2RenderingContext

      WebGL context

    • url: string

      URL of the image

    Returns WebGLTextureData

    • The texture info of a given image