Diligent Engine
 
Loading...
Searching...
No Matches
Diligent::ImageLoadInfo Struct Reference

Image loading information. More...

#include <Image.h>

Public Attributes

IMAGE_FILE_FORMAT Format = IMAGE_FILE_FORMAT_UNKNOWN
 Image file format.
 
bool PermultiplyAlpha = false
 Whether to premultiply RGB channels by alpha.
 
bool IsSRGB = false
 
struct IMemoryAllocatorpAllocator = nullptr
 Memory allocator.
 

Detailed Description

Image loading information.

Member Data Documentation

◆ IsSRGB

bool Diligent::ImageLoadInfo::IsSRGB = false

Whether the image is stored in sRGB format

Note
This flag is only used if PermultiplyAlpha is true.