-
- All Known Implementing Classes:
VulkanComponentMapping
@Immutable public interface VulkanComponentMappingType
A structure specifying a color component mapping.- See Also:
- "VkComponentMapping"
-
-
Method Summary
All Methods Static Methods Instance Methods Abstract Methods Modifier and Type Method Description VulkanComponentSwizzle
a()
VulkanComponentSwizzle
b()
VulkanComponentSwizzle
g()
static VulkanComponentMapping
identity()
VulkanComponentSwizzle
r()
-
-
-
Method Detail
-
identity
static VulkanComponentMapping identity()
- Returns:
- A mapping with all fields set to
VulkanComponentSwizzle.VK_COMPONENT_SWIZZLE_IDENTITY
-
r
@Parameter VulkanComponentSwizzle r()
- Returns:
- The component value placed in the R component of the output vector.
-
g
@Parameter VulkanComponentSwizzle g()
- Returns:
- The component value placed in the G component of the output vector.
-
b
@Parameter VulkanComponentSwizzle b()
- Returns:
- The component value placed in the G component of the output vector.
-
a
@Parameter VulkanComponentSwizzle a()
- Returns:
- The component value placed in the A component of the output vector.
-
-