|
GREM 3.12.0
Game/Rendering Engine Modules for C++
|
Configuration options for a texture image download. More...
#include <GREM/graphics/Texture.hpp>
Public Member Functions | |
| constexpr bool | operator== (const TextureImageDownloadOptions &other) const =default |
| Compare these options to another set of options for equality. | |
Public Attributes | |
| Optional< TextureSubresource > | subresource {} |
| Texture subresource to download. | |
| bool | convertFromPremultipliedAlpha = true |
| Convert the downloaded image from pre-multiplied to straight alpha. | |
Configuration options for a texture image download.
|
nodiscardconstexprdefault |
Compare these options to another set of options for equality.
| other | the options to compare these to. |
| Optional<TextureSubresource> grem::graphics::TextureImageDownloadOptions::subresource {} |
Texture subresource to download.
Must be a valid subresource of the texture, or an empty optional to download the whole texture.
| bool grem::graphics::TextureImageDownloadOptions::convertFromPremultipliedAlpha = true |
Convert the downloaded image from pre-multiplied to straight alpha.
Only applies to raw RGBA formats.