Enums
Functions
- Return a
Image
using the encoded data, but attempts to defer decoding until the image is actually used/drawn. This deferral allows the system to cache the result, either on the CPU or on the GPU, depending on where the image is drawn. If memory is low, the cache may be purged, causing the next draw of the image to have to re-decode. - Creates a CPU-backed
Image
frombitmap
, sharing or copyingbitmap
pixels. If the bitmap is marked immutable, and its pixel memory is shareable, it may be shared instead of copied. - Creates a CPU-backed
Image
from compressed data. - Creates CPU-backed
Image
from pixel data described by info. The pixels data will not be copied.