Structures

VkComponentMapping

Structure specifying a color component mapping

The VkComponentMapping structure is defined as:

typedef struct VkComponentMapping {
    VkComponentSwizzle r;
    VkComponentSwizzle g;
    VkComponentSwizzle b;
    VkComponentSwizzle a;
} VkComponentMapping;
  • r is a VkComponentSwizzle specifying the component value placed in the R component of the output vector.
  • g is a VkComponentSwizzle specifying the component value placed in the G component of the output vector.
  • b is a VkComponentSwizzle specifying the component value placed in the B component of the output vector.
  • a is a VkComponentSwizzle specifying the component value placed in the A component of the output vector.