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.DefaultWraps a Vulkan physical device handle.
-
-
Constructor Summary
Constructors Constructor Description VkPhysicalDevice(long handle, VkInstance instance)Creates aVkPhysicalDeviceusing the specified native handle and Vulkan instance.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description VKCapabilitiesInstancegetCapabilities()Returns theVKCapabilitiesInstanceinstance associated with this dispatchable handle.VkInstancegetInstance()Returns the Vulkan instance from which this physical device was enumerated.
-
-
-
Constructor Detail
-
VkPhysicalDevice
public VkPhysicalDevice(long handle, VkInstance instance)Creates aVkPhysicalDeviceusing the specified native handle and Vulkan instance.- Parameters:
handle- the nativeVkDevicehandleinstance- 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 theVKCapabilitiesInstanceinstance associated with this dispatchable handle.
-
-