CPU-only decode result from decodeToRgba(): raw RGBA8 pixel data that has NOT been uploaded to a platform texture yet. More...
#include <GuiImageData.h>
Public Member Functions | |
| bool | valid () const |
Public Attributes | |
| std::unique_ptr< uint8_t, decltype(&free)> | rgba {nullptr, free} |
| row-major RGBA8, or null if decode failed | |
| int | width = 0 |
| int | height = 0 |
| bool | assetScaled = true |
| False when maxw/maxh constrained this decode to a caller-specified pixel box. | |
CPU-only decode result from decodeToRgba(): raw RGBA8 pixel data that has NOT been uploaded to a platform texture yet.
Definition at line 77 of file GuiImageData.h.
|
inline |
Definition at line 84 of file GuiImageData.h.
| bool GuiImageData::DecodedImage::assetScaled = true |
False when maxw/maxh constrained this decode to a caller-specified pixel box.
Definition at line 83 of file GuiImageData.h.
| int GuiImageData::DecodedImage::height = 0 |
Definition at line 81 of file GuiImageData.h.
| std::unique_ptr<uint8_t, decltype(&free)> GuiImageData::DecodedImage::rgba {nullptr, free} |
row-major RGBA8, or null if decode failed
Definition at line 79 of file GuiImageData.h.
| int GuiImageData::DecodedImage::width = 0 |
Definition at line 80 of file GuiImageData.h.