image
Draws a source area of an image (ColorBuffer) into a target area
Draws an image (ColorBuffer) into a target area
Draws an image with its top-left corner at (x, y) and dimensions (width, height)
Draws an image with its top-left corner at (position) and dimensions (width, height)
Draws an image with its top-left corner at (0,0)
Draws an image onto the specified context using the provided color buffer and rectangles.
Parameters
The color buffer containing the image to be drawn.
A list of pairs of rectangles where the first rectangle in each pair represents the source region in the color buffer, and the second rectangle represents the target region in the context where the portion of the image will be drawn.
Draws an image using an ArrayTexture as source
Draws an image from a specified layer of an ArrayTexture onto a target rectangle.
Parameters
the ArrayTexture that contains the image layers.
the layer of the texture to use, defaults to 0 if not specified.
the rectangle defining the region of the texture to draw.
the rectangle defining the region on the target to draw the texture onto.
Draws an image using the given array texture, layers, and mapping of rectangles.
Parameters
The texture containing the image data to be drawn.
The list of layer indices to be used from the array texture.
A list of pairs where each pair maps a rectangle in the array texture to a corresponding rectangle in the target space.