Class VulkanPhysicalDeviceFeaturesFunctions
java.lang.Object
com.io7m.jcoronado.api.VulkanPhysicalDeviceFeaturesFunctions
Functions over device feature structures.
-
Method Summary
Modifier and TypeMethodDescriptionisSupported(VulkanPhysicalDeviceFeatures supported, VulkanPhysicalDeviceFeatures requested) Determine if the given set of features insupportedsatisfies those inrequested.isSupported10(VulkanPhysicalDeviceFeatures10 supported, VulkanPhysicalDeviceFeatures10 requested) Determine if the given set of features insupportedsatisfies those inrequested.isSupported11(VulkanPhysicalDeviceFeatures11 supported, VulkanPhysicalDeviceFeatures11 requested) Determine if the given set of features insupportedsatisfies those inrequested.isSupported12(VulkanPhysicalDeviceFeatures12 supported, VulkanPhysicalDeviceFeatures12 requested) Determine if the given set of features insupportedsatisfies those inrequested.isSupported13(VulkanPhysicalDeviceFeatures13 supported, VulkanPhysicalDeviceFeatures13 requested) Determine if the given set of features insupportedsatisfies those inrequested.isSupported14(VulkanPhysicalDeviceFeatures14 supported, VulkanPhysicalDeviceFeatures14 requested) Determine if the given set of features insupportedsatisfies those inrequested.static VulkanPhysicalDeviceFeaturesnone()Apply a bitwise OR to all fields.Apply a bitwise OR to all fields.Apply a bitwise OR to all fields.Apply a bitwise OR to all fields.Apply a bitwise OR to all fields.static VulkanPhysicalDeviceFeaturesApply a bitwise OR to all fields.static VulkanPhysicalDeviceFeaturesrandom()random10()random11()random12()random13()random14()
-
Method Details
-
none
- Returns:
- No features
-
random
- Returns:
- A random feature selection
-
or
public static VulkanPhysicalDeviceFeatures or(VulkanPhysicalDeviceFeatures a, VulkanPhysicalDeviceFeatures b) Apply a bitwise OR to all fields.- Parameters:
a- The left featuresb- The right features- Returns:
- The OR of all features
-
mapOf10
- Parameters:
f- The features- Returns:
- The features as a boolean map
-
random10
- Returns:
- A random feature selection
-
or
public static VulkanPhysicalDeviceFeatures10 or(VulkanPhysicalDeviceFeatures10 a, VulkanPhysicalDeviceFeatures10 b) Apply a bitwise OR to all fields.- Parameters:
a- The left featuresb- The right features- Returns:
- The OR of all features
-
random11
- Returns:
- A random feature selection
-
or
public static VulkanPhysicalDeviceFeatures11 or(VulkanPhysicalDeviceFeatures11 a, VulkanPhysicalDeviceFeatures11 b) Apply a bitwise OR to all fields.- Parameters:
a- The left featuresb- The right features- Returns:
- The OR of all features
-
random12
- Returns:
- A random feature selection
-
or
public static VulkanPhysicalDeviceFeatures12 or(VulkanPhysicalDeviceFeatures12 a, VulkanPhysicalDeviceFeatures12 b) Apply a bitwise OR to all fields.- Parameters:
a- The left featuresb- The right features- Returns:
- The OR of all features
-
random13
- Returns:
- A random feature selection
-
random14
- Returns:
- A random feature selection
-
or
public static VulkanPhysicalDeviceFeatures13 or(VulkanPhysicalDeviceFeatures13 a, VulkanPhysicalDeviceFeatures13 b) Apply a bitwise OR to all fields.- Parameters:
a- The left featuresb- The right features- Returns:
- The OR of all features
-
or
public static VulkanPhysicalDeviceFeatures14 or(VulkanPhysicalDeviceFeatures14 a, VulkanPhysicalDeviceFeatures14 b) Apply a bitwise OR to all fields.- Parameters:
a- The left featuresb- The right features- Returns:
- The OR of all features
-
mapOf11
- Parameters:
f- The features- Returns:
- The features as a boolean map
-
mapOf12
- Parameters:
f- The features- Returns:
- The features as a boolean map
-
mapOf13
- Parameters:
f- The features- Returns:
- The features as a boolean map
-
mapOf14
- Parameters:
f- The features- Returns:
- The features as a boolean map
-
mapOf
- Parameters:
f- The features- Returns:
- The features as a boolean map
-
isSupported10
public static Set<String> isSupported10(VulkanPhysicalDeviceFeatures10 supported, VulkanPhysicalDeviceFeatures10 requested) Determine if the given set of features insupportedsatisfies those inrequested. An empty set is returned if everything is supported.- Parameters:
supported- The supported featuresrequested- The requested features- Returns:
- The features that were not available
-
isSupported11
public static Set<String> isSupported11(VulkanPhysicalDeviceFeatures11 supported, VulkanPhysicalDeviceFeatures11 requested) Determine if the given set of features insupportedsatisfies those inrequested. An empty set is returned if everything is supported.- Parameters:
supported- The supported featuresrequested- The requested features- Returns:
- The features that were not available
-
isSupported12
public static Set<String> isSupported12(VulkanPhysicalDeviceFeatures12 supported, VulkanPhysicalDeviceFeatures12 requested) Determine if the given set of features insupportedsatisfies those inrequested. An empty set is returned if everything is supported.- Parameters:
supported- The supported featuresrequested- The requested features- Returns:
- The features that were not available
-
isSupported13
public static Set<String> isSupported13(VulkanPhysicalDeviceFeatures13 supported, VulkanPhysicalDeviceFeatures13 requested) Determine if the given set of features insupportedsatisfies those inrequested. An empty set is returned if everything is supported.- Parameters:
supported- The supported featuresrequested- The requested features- Returns:
- The features that were not available
-
isSupported14
public static Set<String> isSupported14(VulkanPhysicalDeviceFeatures14 supported, VulkanPhysicalDeviceFeatures14 requested) Determine if the given set of features insupportedsatisfies those inrequested. An empty set is returned if everything is supported.- Parameters:
supported- The supported featuresrequested- The requested features- Returns:
- The features that were not available
-
isSupported
public static Set<String> isSupported(VulkanPhysicalDeviceFeatures supported, VulkanPhysicalDeviceFeatures requested) Determine if the given set of features insupportedsatisfies those inrequested. An empty set is returned if everything is supported.- Parameters:
supported- The supported featuresrequested- The requested features- Returns:
- The features that were not available
-