Package org.lwjgl.vulkan
Class VkPhysicalDevice
- java.lang.Object
-
- org.lwjgl.system.Pointer.Default
-
- org.lwjgl.vulkan.VkPhysicalDevice
-
- All Implemented Interfaces:
org.lwjgl.system.Pointer
public class VkPhysicalDevice extends org.lwjgl.system.Pointer.Default
Wraps a Vulkan physical device handle.
-
-
Constructor Summary
Constructors Constructor Description VkPhysicalDevice(long handle, VkInstance instance)
Creates aVkPhysicalDevice
using the specified native handle and Vulkan instance.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description VKCapabilitiesInstance
getCapabilities()
Returns theVKCapabilitiesInstance
instance associated with this dispatchable handle.VkInstance
getInstance()
Returns the Vulkan instance from which this physical device was enumerated.
-
-
-
Constructor Detail
-
VkPhysicalDevice
public VkPhysicalDevice(long handle, VkInstance instance)
Creates aVkPhysicalDevice
using the specified native handle and Vulkan instance.- Parameters:
handle
- the nativeVkDevice
handleinstance
- 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.
-
getCapabilities
public VKCapabilitiesInstance getCapabilities()
Returns theVKCapabilitiesInstance
instance associated with this dispatchable handle.
-
-