![]() |
NDEVR
API Documentation
|
Holds cached image data including compressed and decompressed pixel buffers, file references, metadata, and dimension information. More...
Public Member Functions | |
| ImageCacheData () | |
| Constructs an ImageCacheData and sets modified_time to the current system time. | |
| ImageCacheData & | operator= (const ImageCacheData &data) |
| Assigns the contents of another ImageCacheData to this one. | |
Public Attributes | |
| Buffer< uint01 > | compressed_data |
| In-memory compressed image data (e.g., JPEG, PNG bytes). | |
| String | compression_format |
| The file extension or format identifier of the compressed data (e.g., ".png"). | |
| Buffer< uint01 > | decompressed_data |
| Raw decompressed pixel data in ARGB 32-bit format. | |
| File | file |
| File reference for the on-disk image source, if applicable. | |
| bool | has_calculated_transparency = false |
| Whether transparency has been explicitly determined (vs. assumed). | |
| bool | has_transparency = true |
| Whether the image contains transparent pixels. | |
| RWLock | lock |
| Read-write lock for thread-safe access to this cache entry. | |
| ImageMetaData | metadata |
| Metadata associated with this image (location, orientation, etc.). | |
| Time | modified_time = Constant<Time>::Invalid |
| Last modification time of this cache entry. | |
| String | name |
| Display name or identifier for this image. | |
| Vector< 2, uint04 > | size = Constant<Vector<2, uint04>>::Invalid |
| Image dimensions (width, height) in pixels. | |
Holds cached image data including compressed and decompressed pixel buffers, file references, metadata, and dimension information.
Used internally by the ImageFactory for efficient image storage.
Definition at line 59 of file ImageFactory.h.
| ImageCacheData & ImageCacheData::operator= | ( | const ImageCacheData & | data | ) |
Assigns the contents of another ImageCacheData to this one.
| [in] | data | The source ImageCacheData to copy from. |
References ImageCacheData().