C Specification
The VkComponentMapping structure is defined as:
// Provided by VK_VERSION_1_0
typedef struct VkComponentMapping {
    VkComponentSwizzle    r;
    VkComponentSwizzle    g;
    VkComponentSwizzle    b;
    VkComponentSwizzle    a;
} VkComponentMapping;Members
- 
ris a VkComponentSwizzle specifying the component value placed in the R component of the output vector.
- 
gis a VkComponentSwizzle specifying the component value placed in the G component of the output vector.
- 
bis a VkComponentSwizzle specifying the component value placed in the B component of the output vector.
- 
ais a VkComponentSwizzle specifying the component value placed in the A component of the output vector.
See Also
VK_VERSION_1_0, VkAndroidHardwareBufferFormatProperties2ANDROID, VkAndroidHardwareBufferFormatPropertiesANDROID, VkBufferCollectionPropertiesFUCHSIA, VkComponentSwizzle, VkImageViewCreateInfo, VkSamplerBorderColorComponentMappingCreateInfoEXT, VkSamplerYcbcrConversionCreateInfo, VkScreenBufferFormatPropertiesQNX, VkVideoFormatPropertiesKHR
Document Notes
For more information, see the Vulkan Specification
This page is extracted from the Vulkan Specification. Fixes and changes should be made to the Specification, not directly.