πŸ“š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.

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.

Last updated