Open 3D Engine Atom Gem API Reference 23.10.0
O3DE is an open-source, fully-featured, high-fidelity, modular 3D engine for building games and simulations, available to every industry.
AZ::Vulkan::ImageComponentMapping Struct Reference

#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.
 

Detailed Description

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).


The documentation for this struct was generated from the following file: