Donner SVG 0.8.0
0.8.0 ยท ebf353960.8.0 main
SVG editor and embeddable C⁠+⁠+⁠20 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"

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.

Detailed Description

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

◆ operator==

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

Compare all fields used for texture reuse.

Parameters
lhsFirst identity.
rhsSecond identity.

Member Data Documentation

◆ kind

RenderResult::CompositedTile::Kind donner::editor::CompositedTileTextureIdentity::kind
Initial value:
=
RenderResult::CompositedTile::Kind::Segment

Kind of tile whose payload was cached.


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