#include <ImageViewDescriptor.h>
Public Types | |
enum class | Swizzle : uint32_t { Identity , Zero , One , R , G , B , A } |
Mapping for a specific channel. | |
Public Member Functions | |
ImageComponentMapping (Swizzle r, Swizzle g, Swizzle b, Swizzle a) | |
Public Attributes | |
Swizzle | m_red = Swizzle::Identity |
Red channel mapping. | |
Swizzle | m_green = Swizzle::Identity |
green channel mapping | |
Swizzle | m_blue = Swizzle::Identity |
Blue channel mapping. | |
Swizzle | m_alpha = Swizzle::Identity |
Alpha channel mapping. | |
Defines the mapping of the RGBA channels of an image view. Each channel can be map to their identity value (e.g red channel maps to the red channel), to another channel (e.g red channel maps to blue channel) or to a constant value (e.g red channel maps to zero).