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.
Valid Usage (Implicit)
VUID-VkComponentMapping-r-parameter
r
must be a valid VkComponentSwizzle value
VUID-VkComponentMapping-g-parameter
g
must be a valid VkComponentSwizzle value
VUID-VkComponentMapping-b-parameter
b
must be a valid VkComponentSwizzle value
VUID-VkComponentMapping-a-parameter
a
must be a valid VkComponentSwizzle value