|
GREM 3.12.0
Game/Rendering Engine Modules for C++
|
Configuration options for a texture image upload. More...
#include <GREM/graphics/Texture.hpp>
Public Member Functions | |
| constexpr bool | operator== (const TextureImageUploadOptions &other) const =default |
| Compare these options to another set of options for equality. | |
Public Attributes | |
| Color::TransferFunction | transferFunction = Color::TransferFunction::SRGB |
| Preferred transfer function to use when choosing the internal texture format. | |
| bool | convertToPremultipliedAlpha = true |
| Convert the uploaded image from straight to pre-multiplied alpha. | |
| bool | generateMipmap = true |
| Generate a new mip chain with the maximum number of mip levels for the texture based on mip level 0 of the uploaded image, ignoring any other mip levels in the input image. | |
Configuration options for a texture image upload.
|
nodiscardconstexprdefault |
Compare these options to another set of options for equality.
| other | the options to compare these to. |
| Color::TransferFunction grem::graphics::TextureImageUploadOptions::transferFunction = Color::TransferFunction::SRGB |
Preferred transfer function to use when choosing the internal texture format.
| bool grem::graphics::TextureImageUploadOptions::convertToPremultipliedAlpha = true |
Convert the uploaded image from straight to pre-multiplied alpha.
| bool grem::graphics::TextureImageUploadOptions::generateMipmap = true |
Generate a new mip chain with the maximum number of mip levels for the texture based on mip level 0 of the uploaded image, ignoring any other mip levels in the input image.