Interface VulkanClearValueType.VulkanClearValueColorType
- All Superinterfaces:
VulkanClearValueType
- All Known Subinterfaces:
VulkanClearValueType.VulkanClearValueColorFloatingPointType, VulkanClearValueType.VulkanClearValueColorIntegerSignedType, VulkanClearValueType.VulkanClearValueColorIntegerUnsignedType
- All Known Implementing Classes:
VulkanClearValueColorFloatingPoint, VulkanClearValueColorIntegerSigned, VulkanClearValueColorIntegerUnsigned
- Enclosing interface:
VulkanClearValueType
public static sealed interface VulkanClearValueType.VulkanClearValueColorType
extends VulkanClearValueType
permits VulkanClearValueType.VulkanClearValueColorIntegerSignedType, VulkanClearValueType.VulkanClearValueColorIntegerUnsignedType, VulkanClearValueType.VulkanClearValueColorFloatingPointType
A depth/stencil value.
-
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 intPack the color value as an integer value suitable for passing toVulkanCommandBufferType.fillBuffer(VulkanBufferType, long, long, int).intasFillBufferInteger(ByteOrder order) Pack the color value as an integer value suitable for passing toVulkanCommandBufferType.fillBuffer(VulkanBufferType, long, long, int).
-
Method Details
-
asFillBufferInteger
Pack the color value as an integer value suitable for passing toVulkanCommandBufferType.fillBuffer(VulkanBufferType, long, long, int).- Parameters:
order- The target byte order- Returns:
- The packed color value
-
asFillBufferInteger
default int asFillBufferInteger()Pack the color value as an integer value suitable for passing toVulkanCommandBufferType.fillBuffer(VulkanBufferType, long, long, int). The value is packed based on the host byte order.- Returns:
- The packed color value
-