VkComponentSwizzle | NVK Search
  1. No Results
Categories
VkComponentSwizzle Specify how a component is swizzled Stub
VkComponentSwizzle = {
  VK_COMPONENT_SWIZZLE_IDENTITY: 0,
  VK_COMPONENT_SWIZZLE_ZERO: 1,
  VK_COMPONENT_SWIZZLE_ONE: 2,
  VK_COMPONENT_SWIZZLE_R: 3,
  VK_COMPONENT_SWIZZLE_G: 4,
  VK_COMPONENT_SWIZZLE_B: 5,
  VK_COMPONENT_SWIZZLE_A: 6
};
Properties VkComponentSwizzle.VK_COMPONENT_SWIZZLE_IDENTITY specifies that the component is set to the identity swizzle. VkComponentSwizzle.VK_COMPONENT_SWIZZLE_ZERO specifies that the component is set to zero. VkComponentSwizzle.VK_COMPONENT_SWIZZLE_ONE specifies that the component is set to either 1 or 1.0, depending on whether the type of the image view format is integer or floating-point respectively, as determined by the <> section for each VkFormat. VkComponentSwizzle.VK_COMPONENT_SWIZZLE_R specifies that the component is set to the value of the R component of the image. VkComponentSwizzle.VK_COMPONENT_SWIZZLE_G specifies that the component is set to the value of the G component of the image. VkComponentSwizzle.VK_COMPONENT_SWIZZLE_B specifies that the component is set to the value of the B component of the image. VkComponentSwizzle.VK_COMPONENT_SWIZZLE_A specifies that the component is set to the value of the A component of the image.