Struct TextureProperties¶
Defined in File image_types.h
Struct Documentation¶
-
struct TextureProperties¶
Texture creation parameters with mipmap and storage options.
Public Members
-
ImageFormat format = ImageFormat::RGBA8_UNorm¶
-
TextureType type = TextureType::Texture¶
-
size_t width = 1¶
-
size_t height = 1¶
-
size_t depth = 1¶
-
std::optional<SamplerProperties> sampler_prop = std::nullopt¶
-
bool generate_mipmaps = true¶
-
bool storage = false¶
-
bool store_locally = false¶
-
ImageFormat format = ImageFormat::RGBA8_UNorm¶