Skip to main content

GLDrawLoadImage

Callable


  • Loads image texture data


    Parameters

    • gl: WebGL2RenderingContext

      WebGL context

    • url: string

      URL of the image

    Returns GLDrawImageData

    • The texture info of a given image, or null if it has nothing to draw yet