Stable identity for deciding whether a metadata-only composited tile can reuse an existing presentation texture. More...
#include "donner/editor/GlTextureCache.h"
Public Attributes | |
| RenderResult::CompositedTile::Kind | kind |
| Kind of tile whose payload was cached. | |
| std::uint64_t | generation = 0 |
| Generation of the cached tile payload. | |
| Vector2i | textureDimsPx = Vector2i::Zero() |
| Valid payload size, not backing allocation. | |
| Vector2i | rasterCanvasSize = Vector2i::Zero() |
| Canvas size used to render this tile. | |
Friends | |
| bool | operator== (const CompositedTileTextureIdentity &lhs, const CompositedTileTextureIdentity &rhs)=default |
| Compare all fields used for texture reuse. | |
Stable identity for deciding whether a metadata-only composited tile can reuse an existing presentation texture.
|
friend |
Compare all fields used for texture reuse.
| lhs | First identity. |
| rhs | Second identity. |
| RenderResult::CompositedTile::Kind donner::editor::CompositedTileTextureIdentity::kind |
Kind of tile whose payload was cached.