Donner SVG main
0.8.0 ยท 382bd0190.8.0 main
SVG editor and embeddable C⁠+⁠+⁠20 engine.
Loading...
Searching...
No Matches
donner::editor::UiTextureBacking Struct Reference

Runtime handles keeping one UI texture registration's backing reachable. More...

#include "donner/editor/gui/UiTextureRegistration.h"

Public Attributes

gpu::Texture texture
 Imported texture, null when the source already owned a texture on the UI device.
gpu::TextureView view
 View the registration samples.

Detailed Description

Runtime handles keeping one UI texture registration's backing reachable.

A registration borrows its backing rather than owning it, so whoever registers holds this for as long as the registration is live and drops it when the registration is retired.

Member Data Documentation

◆ texture

gpu::Texture donner::editor::UiTextureBacking::texture

Imported texture, null when the source already owned a texture on the UI device.

◆ view

gpu::TextureView donner::editor::UiTextureBacking::view

View the registration samples.


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