Resident textures of an entity that draws a decoded raster image (LoadedImageComponent), one per device that draws it. More...
#include "donner/svg/renderer/geode/GeodeResidentImageComponent.h"
Public Attributes | |
| GeodePerDevice< GeodeImageResidency > | devices |
| Resident texture per drawing device. | |
Resident textures of an entity that draws a decoded raster image (LoadedImageComponent), one per device that draws it.
Installed lazily by RendererGeode::drawImage on the image's source entity, and removed by the LoadedImageComponent update and destroy listener, so new pixels or a removed image drop the texture. Every draw also compares the kept texture's revision and size with the image being drawn and uploads again on a mismatch, which covers a direct pixel edit that marks a new revision without a signal.
| GeodePerDevice<GeodeImageResidency> donner::geode::GeodeResidentImageComponent::devices |
Resident texture per drawing device.