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

The validated result of a registration lookup. More...

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

Public Member Functions

bool operator== (const UiTextureBinding &other) const
 Equality operator; views compare by the identity the device validates, since gpu::HandleRef has no comparison of its own.

Public Attributes

gpu::TextureViewRef view
 Validated view.
gpu::Extent2d size
 Sampled extent in texels.
UiTextureAlphaMode alphaMode = UiTextureAlphaMode::Premultiplied
 Alpha interpretation.

Detailed Description

The validated result of a registration lookup.

Member Function Documentation

◆ operator==()

bool donner::editor::UiTextureBinding::operator== ( const UiTextureBinding & other) const
inline

Equality operator; views compare by the identity the device validates, since gpu::HandleRef has no comparison of its own.

Parameters
otherBinding to compare against.

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