Enum VulkanCompositeAlphaFlagKHR
- java.lang.Object
-
- java.lang.Enum<VulkanCompositeAlphaFlagKHR>
-
- com.io7m.jcoronado.extensions.khr_swapchain.api.VulkanCompositeAlphaFlagKHR
-
- All Implemented Interfaces:
VulkanEnumBitmaskType
,java.io.Serializable
,java.lang.Comparable<VulkanCompositeAlphaFlagKHR>
public enum VulkanCompositeAlphaFlagKHR extends java.lang.Enum<VulkanCompositeAlphaFlagKHR> implements VulkanEnumBitmaskType
- See Also:
- "VkCompositeAlphaFlagBitsKHR"
-
-
Enum Constant Summary
Enum Constants Enum Constant Description VK_COMPOSITE_ALPHA_INHERIT_BIT_KHR
The way in which the presentation engine treats the alpha channel in the images is unknown to the Vulkan API.VK_COMPOSITE_ALPHA_OPAQUE_BIT_KHR
The alpha channel, if it exists, of the images is ignored in the compositing process.VK_COMPOSITE_ALPHA_POST_MULTIPLIED_BIT_KHR
The alpha channel, if it exists, of the images is respected in the compositing process.VK_COMPOSITE_ALPHA_PRE_MULTIPLIED_BIT_KHR
The alpha channel, if it exists, of the images is respected in the compositing process.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description int
value()
static VulkanCompositeAlphaFlagKHR
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.static VulkanCompositeAlphaFlagKHR[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
VK_COMPOSITE_ALPHA_OPAQUE_BIT_KHR
public static final VulkanCompositeAlphaFlagKHR VK_COMPOSITE_ALPHA_OPAQUE_BIT_KHR
The alpha channel, if it exists, of the images is ignored in the compositing process. Instead, the image is treated as if it has a constant alpha of 1.0.
-
VK_COMPOSITE_ALPHA_PRE_MULTIPLIED_BIT_KHR
public static final VulkanCompositeAlphaFlagKHR VK_COMPOSITE_ALPHA_PRE_MULTIPLIED_BIT_KHR
The alpha channel, if it exists, of the images is respected in the compositing process. The non-alpha channels of the image are expected to already be multiplied by the alpha channel by the application.
-
VK_COMPOSITE_ALPHA_POST_MULTIPLIED_BIT_KHR
public static final VulkanCompositeAlphaFlagKHR VK_COMPOSITE_ALPHA_POST_MULTIPLIED_BIT_KHR
The alpha channel, if it exists, of the images is respected in the compositing process. The non-alpha channels of the image are not expected to already be multiplied by the alpha channel by the application; instead, the compositor will multiply the non-alpha channels of the image by the alpha channel during compositing.
-
VK_COMPOSITE_ALPHA_INHERIT_BIT_KHR
public static final VulkanCompositeAlphaFlagKHR VK_COMPOSITE_ALPHA_INHERIT_BIT_KHR
The way in which the presentation engine treats the alpha channel in the images is unknown to the Vulkan API. Instead, the application is responsible for setting the composite alpha blending mode using native window system commands. If the application does not set the blending mode using native window system commands, then a platform-specific default will be used.
-
-
Method Detail
-
values
public static VulkanCompositeAlphaFlagKHR[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:for (VulkanCompositeAlphaFlagKHR c : VulkanCompositeAlphaFlagKHR.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static VulkanCompositeAlphaFlagKHR valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)- Parameters:
name
- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is null
-
value
public int value()
- Specified by:
value
in interfaceVulkanEnumBitmaskType
- Returns:
- The integer value of the constant
-
-