Donner SVG 0.8.0-pre
SVG editor and embeddable C⁠+⁠+⁠20 engine.
Loading...
Searching...
No Matches
donner::editor::ToolbarIconTexture Struct Reference

An uploaded icon texture plus the valid payload UV range (icon bitmaps may be padded to a texture-friendly size). More...

#include "donner/editor/ToolbarIconSet.h"

Public Attributes

ImTextureID texture = 0
 ImGui texture handle.
Vector2d uvBottomRight = Vector2d(1.0, 1.0)
 Bottom-right valid payload UV.

Detailed Description

An uploaded icon texture plus the valid payload UV range (icon bitmaps may be padded to a texture-friendly size).

Member Data Documentation

◆ texture

ImTextureID donner::editor::ToolbarIconTexture::texture = 0

ImGui texture handle.

◆ uvBottomRight

Vector2d donner::editor::ToolbarIconTexture::uvBottomRight = Vector2d(1.0, 1.0)

Bottom-right valid payload UV.


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