Class VkPhysicalDevice

  • All Implemented Interfaces:
    Pointer

    public class VkPhysicalDevice
    extends Pointer.Default
    Wraps a Vulkan physical device handle.
    • Constructor Detail

      • VkPhysicalDevice

        public VkPhysicalDevice​(long handle,
                                VkInstance instance)
        Creates a VkPhysicalDevice using the specified native handle and Vulkan instance.
        Parameters:
        handle - the native VkDevice handle
        instance - the Vulkan instance from which the physical device was enumerated
    • Method Detail

      • getInstance

        public VkInstance getInstance()
        Returns the Vulkan instance from which this physical device was enumerated.