Class VulkanPhysicalDeviceFeatures
java.lang.Object
com.io7m.jcoronado.api.VulkanPhysicalDeviceFeatures
- All Implemented Interfaces:
VulkanPhysicalDeviceFeaturesType
public final class VulkanPhysicalDeviceFeatures
extends Object
implements VulkanPhysicalDeviceFeaturesType
The features supported by a physical device.
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic final classBuilds instances of typeVulkanPhysicalDeviceFeatures. -
Method Summary
Modifier and TypeMethodDescriptionbuilder()Creates a builder forVulkanPhysicalDeviceFeatures.static VulkanPhysicalDeviceFeaturescopyOf(VulkanPhysicalDeviceFeaturesType instance) Creates an immutable copy of aVulkanPhysicalDeviceFeaturesTypevalue.booleanThis instance is equal to all instances ofVulkanPhysicalDeviceFeaturesthat have equal attribute values.inthashCode()Computes a hash code from attributes:features10,features11,features12,features13.toString()Prints the immutable valueVulkanPhysicalDeviceFeatureswith attribute values.Copy the current immutable object by setting a value for thefeatures10attribute.Copy the current immutable object by setting a value for thefeatures11attribute.Copy the current immutable object by setting a value for thefeatures12attribute.Copy the current immutable object by setting a value for thefeatures13attribute.
-
Method Details
-
features10
- Specified by:
features10in interfaceVulkanPhysicalDeviceFeaturesType- Returns:
- The features supported by a physical Vulkan 1.0 device.
- See Also:
-
features11
- Specified by:
features11in interfaceVulkanPhysicalDeviceFeaturesType- Returns:
- The features supported by a physical Vulkan 1.1 device.
- See Also:
-
features12
- Specified by:
features12in interfaceVulkanPhysicalDeviceFeaturesType- Returns:
- The features supported by a physical Vulkan 1.2 device.
- See Also:
-
features13
- Specified by:
features13in interfaceVulkanPhysicalDeviceFeaturesType- Returns:
- The features supported by a physical Vulkan 1.3 device.
- See Also:
-
withFeatures10
Copy the current immutable object by setting a value for thefeatures10attribute. A shallow reference equality check is used to prevent copying of the same value by returningthis.- Parameters:
value- A new value for features10- Returns:
- A modified copy of the
thisobject
-
withFeatures11
Copy the current immutable object by setting a value for thefeatures11attribute. A shallow reference equality check is used to prevent copying of the same value by returningthis.- Parameters:
value- A new value for features11- Returns:
- A modified copy of the
thisobject
-
withFeatures12
Copy the current immutable object by setting a value for thefeatures12attribute. A shallow reference equality check is used to prevent copying of the same value by returningthis.- Parameters:
value- A new value for features12- Returns:
- A modified copy of the
thisobject
-
withFeatures13
Copy the current immutable object by setting a value for thefeatures13attribute. A shallow reference equality check is used to prevent copying of the same value by returningthis.- Parameters:
value- A new value for features13- Returns:
- A modified copy of the
thisobject
-
equals
-
hashCode
-
toString
-
copyOf
Creates an immutable copy of aVulkanPhysicalDeviceFeaturesTypevalue. Uses accessors to get values to initialize the new immutable instance. If an instance is already immutable, it is returned as is.- Parameters:
instance- The instance to copy- Returns:
- A copied immutable VulkanPhysicalDeviceFeatures instance
-
builder
Creates a builder forVulkanPhysicalDeviceFeatures.VulkanPhysicalDeviceFeatures.builder() .setFeatures10(com.io7m.jcoronado.api.VulkanPhysicalDeviceFeatures10) // requiredfeatures10.setFeatures11(com.io7m.jcoronado.api.VulkanPhysicalDeviceFeatures11) // requiredfeatures11.setFeatures12(com.io7m.jcoronado.api.VulkanPhysicalDeviceFeatures12) // requiredfeatures12.setFeatures13(com.io7m.jcoronado.api.VulkanPhysicalDeviceFeatures13) // requiredfeatures13.build();- Returns:
- A new VulkanPhysicalDeviceFeatures builder
-