|
GREM 3.12.0
Game/Rendering Engine Modules for C++
|
Options for loading an image. More...
#include <GREM/resource/Image.hpp>
Public Member Functions | |
| constexpr bool | operator== (const ImageOptions &other) const =default |
| Compare these options to another set of options for equality. | |
Public Attributes | |
| Optional< ImageType > | requiredType {} |
| If set, require the loaded image to have this type. | |
| Optional< ImageFormat > | requiredFormat {} |
| If set, require the loaded image to have or be converted to this format. | |
| Extent3D | maxImageDimensions |
| Maximum width, height and depth of the loaded image. | |
| size_t | maxImageSizeInBytes = (uint64_t{8'589'934'592ull} <= uint64_t{Limits<size_t>::MAX}) ? static_cast<size_t>(uint64_t{8'589'934'592ull}) : size_t{2'147'483'648ull} |
| Maximum size in bytes of the loaded image data. | |
Options for loading an image.
|
nodiscardconstexprdefault |
Compare these options to another set of options for equality.
| other | the options to compare these to. |
If set, require the loaded image to have this type.
| Optional<ImageFormat> grem::resource::ImageOptions::requiredFormat {} |
If set, require the loaded image to have or be converted to this format.
| Extent3D grem::resource::ImageOptions::maxImageDimensions |
Maximum width, height and depth of the loaded image.
| size_t grem::resource::ImageOptions::maxImageSizeInBytes = (uint64_t{8'589'934'592ull} <= uint64_t{Limits<size_t>::MAX}) ? static_cast<size_t>(uint64_t{8'589'934'592ull}) : size_t{2'147'483'648ull} |
Maximum size in bytes of the loaded image data.