πCopy Texture to Clipboard

π Description
Reads the pixel data from a given Texture asset and copies it to the system clipboard as a standard 32-bit bitmap image.
Name
Description
Texture
The texture asset to copy. This can be a Texture2D or a TextureRenderTarget2D.
Name
Description
Return Value
Returns true if the image was successfully copied to the clipboard. Returns false on failure (null input, invalid dimensions, unsupported format, invalid texture resource, etc.).
Last updated