Texture.copyToImage

Copy the texture pixels to an image. * This function performs a slow operation that downloads the texture's pixels from the graphics card and copies them to a new image, potentially applying transformations to pixels if necessary (texture may be padded or flipped). *

class Texture
copyToImage
const
(
)

Return Value

Type: Image

Image containing the texture's pixels.

Meta