Interface VulkanClearValueType.VulkanClearValueColorFloatingPointType
- All Superinterfaces:
VulkanClearValueType, VulkanClearValueType.VulkanClearValueColorType
- All Known Implementing Classes:
VulkanClearValueColorFloatingPoint
- Enclosing interface:
VulkanClearValueType
@Immutable
public static non-sealed interface VulkanClearValueType.VulkanClearValueColorFloatingPointType
extends VulkanClearValueType.VulkanClearValueColorType
A color consisting of floating-point components.
-
Nested Class Summary
Nested classes/interfaces inherited from interface VulkanClearValueType
VulkanClearValueType.VulkanClearValueColorFloatingPointType, VulkanClearValueType.VulkanClearValueColorIntegerSignedType, VulkanClearValueType.VulkanClearValueColorIntegerUnsignedType, VulkanClearValueType.VulkanClearValueColorType, VulkanClearValueType.VulkanClearValueDepthStencilType -
Method Summary
Modifier and TypeMethodDescriptiondefault floatalpha()default intasFillBufferInteger(ByteOrder order) Pack the color value as an integer value suitable for passing toVulkanCommandBufferType.fillBuffer(VulkanBufferType, long, long, int).default floatblue()default floatgreen()default floatred()Methods inherited from interface VulkanClearValueType.VulkanClearValueColorType
asFillBufferInteger
-
Method Details
-
asFillBufferInteger
Description copied from interface:VulkanClearValueType.VulkanClearValueColorTypePack the color value as an integer value suitable for passing toVulkanCommandBufferType.fillBuffer(VulkanBufferType, long, long, int).- Specified by:
asFillBufferIntegerin interfaceVulkanClearValueType.VulkanClearValueColorType- Parameters:
order- The target byte order- Returns:
- The packed color value
-
red
@Default default float red()- Returns:
- The red channel
-
green
@Default default float green()- Returns:
- The green channel
-
blue
@Default default float blue()- Returns:
- The blue channel
-
alpha
@Default default float alpha()- Returns:
- The alpha channel
-