Class VkComponentMapping

  • All Implemented Interfaces:
    java.lang.AutoCloseable, NativeResource, Pointer

    public class VkComponentMapping
    extends Struct
    implements NativeResource
    Structure specifying a color component mapping.
    Valid Usage (Implicit)
    • r must be a valid VkComponentSwizzle value
    • g must be a valid VkComponentSwizzle value
    • b must be a valid VkComponentSwizzle value
    • a must be a valid VkComponentSwizzle value
    See Also

    VkImageViewCreateInfo, VkSamplerYcbcrConversionCreateInfo

    Member documentation

    • r – a VkComponentSwizzle specifying the component value placed in the R component of the output vector.
    • g – a VkComponentSwizzle specifying the component value placed in the G component of the output vector.
    • b – a VkComponentSwizzle specifying the component value placed in the B component of the output vector.
    • a – a VkComponentSwizzle specifying the component value placed in the A component of the output vector.

    Layout

    
     struct VkComponentMapping {
         VkComponentSwizzle r;
         VkComponentSwizzle g;
         VkComponentSwizzle b;
         VkComponentSwizzle a;
     }