![]() |
DSC Engine
|
Struct that contains information following an asset allocation attempt via PaletteManager::try_load().
More...
#include <palette_manager.hpp>
Public Member Functions | |
| PaletteAllocationResult (short *indices=nullptr, int length=0, char color_depth=0, bool succeeded=false) | |
| PaletteAllocationResult (const PaletteAllocationResult &) | |
| PaletteAllocationResult (PaletteAllocationResult &&) | |
| PaletteAllocationResult & | operator= (const PaletteAllocationResult &other) |
| PaletteAllocationResult & | operator= (PaletteAllocationResult &&other) |
| bool | operator== (const PaletteAllocationResult &other) const |
Public Attributes | |
| short * | indices = nullptr |
| The positions colors have been dynamically allocated to. More... | |
| int | length |
| size of the provided indices More... | |
| char | color_depth |
| color depth of the asset | |
| bool | succeeded |
| flag that specifies whether the operation succeeded or failed. This struct contains relevant data only if succeeded == true. | |
Struct that contains information following an asset allocation attempt via PaletteManager::try_load().
| short* DSC::PaletteAllocationResult::indices = nullptr |
The positions colors have been dynamically allocated to.
| int DSC::PaletteAllocationResult::length |
size of the provided indices