Class VulkanLayers

  • public final class VulkanLayers
    extends java.lang.Object
    Functions for handling Vulkan layers.
    • Method Summary

      All Methods Static Methods Concrete Methods 
      Modifier and Type Method Description
      static java.util.Set<java.lang.String> filterRequiredLayers​(java.util.Map<java.lang.String,​VulkanLayerProperties> available_layers, java.util.Set<java.lang.String> optional_layers, java.util.Set<java.lang.String> required_layers)
      Determine if all of the required layers are available.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Method Detail

      • filterRequiredLayers

        public static java.util.Set<java.lang.String> filterRequiredLayers​(java.util.Map<java.lang.String,​VulkanLayerProperties> available_layers,
                                                                           java.util.Set<java.lang.String> optional_layers,
                                                                           java.util.Set<java.lang.String> required_layers)
                                                                    throws VulkanMissingRequiredLayersException
        Determine if all of the required layers are available.
        available_layers - The available layers
        optional_layers - The optional layers
        required_layers - The required layers
        The set of layers to be enabled
        VulkanMissingRequiredLayersException - If one or more required layers are missing