donner::editor::UiTextureRegistry - validated UI texture registrations for ImGui draw data.
More...
#include <cstddef>
#include <cstdint>
#include <ostream>
#include <string_view>
#include <vector>
#include "donner/editor/ImGuiIncludes.h"
#include "donner/gpu/Descriptors.h"
#include "donner/gpu/GpuResult.h"
#include "donner/gpu/Handles.h"
donner::editor::UiTextureRegistry - validated UI texture registrations for ImGui draw data.
◆ UiTextureAlphaMode
How a registered UI texture's color channels relate to its alpha channel.
| Enumerator |
|---|
| Premultiplied | Color channels are already multiplied by alpha.
|
| Straight | Color channels are independent of alpha and multiplied when sampled.
|
◆ operator<<()
Ostream output operator for UiTextureAlphaMode, e.g.
Premultiplied.
- Parameters
-
| os | Output stream. |
| value | Alpha mode to output. |
◆ PrintTo() [1/2]
| void donner::editor::PrintTo |
( |
const UiTextureBinding & | binding, |
|
|
std::ostream * | os ) |
gtest PrintTo support for readable failures on a binding mismatch.
- Parameters
-
| binding | Binding to print. |
| os | Output stream. |
◆ PrintTo() [2/2]
| void donner::editor::PrintTo |
( |
const UiTextureId & | id, |
|
|
std::ostream * | os ) |
gtest PrintTo support: prints uiTexture#<slot>@<generation> or uiTexture(null).
- Parameters
-
| id | Identifier to print. |
| os | Output stream. |