Donner 0.8.0-pre
Embeddable browser-grade SVG2 engine
Loading...
Searching...
No Matches
donner::editor::CompositedTileTextureIdentity Struct Reference

Stable identity for deciding whether a metadata-only composited tile can reuse an existing presentation texture. More...

#include "donner/editor/GlTextureCache.h"

Collaboration diagram for donner::editor::CompositedTileTextureIdentity:
[legend]

Public Attributes

RenderResult::CompositedTile::Kind kind = RenderResult::CompositedTile::Kind::Segment
std::uint64_t generation = 0
Vector2i textureDimsPx = Vector2i::Zero()
 Payload dimensions in pixels. This is intentionally the valid content size, not the power-of-two backing allocation size.
Vector2i rasterCanvasSize = Vector2i::Zero()

Friends

bool operator== (const CompositedTileTextureIdentity &lhs, const CompositedTileTextureIdentity &rhs)=default

Detailed Description

Stable identity for deciding whether a metadata-only composited tile can reuse an existing presentation texture.


The documentation for this struct was generated from the following file: