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.).
Supported Pixel Formats:
PF_B8G8R8A8
PF_R8G8B8A8
PF_FloatRGBA
PF_FloatRGB
The image is placed on the clipboard as a 32-bpp BGRA bitmap, which is compatible with most other applications.
If a TextureRenderTarget2D has a fully transparent alpha channel, it will be automatically converted to fully opaque before being copied.