Package org.lwjgl.vulkan
Class VkPhysicalDevice
- java.lang.Object
-
- org.lwjgl.system.Pointer.Default
-
- org.lwjgl.vulkan.DispatchableHandle
-
- org.lwjgl.vulkan.VkPhysicalDevice
-
- All Implemented Interfaces:
- Pointer
public class VkPhysicalDevice extends DispatchableHandle
Wraps a Vulkan physical device handle.
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from interface org.lwjgl.system.Pointer
Pointer.Default
-
-
Field Summary
-
Fields inherited from interface org.lwjgl.system.Pointer
POINTER_SHIFT, POINTER_SIZE
-
-
Constructor Summary
Constructors Constructor and 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 and Description VkInstance
getInstance()
Returns the Vulkan instance from which this physical device was enumerated.-
Methods inherited from class org.lwjgl.vulkan.DispatchableHandle
getCapabilities
-
Methods inherited from class org.lwjgl.system.Pointer.Default
address, equals, hashCode, toString
-
-
-
-
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.
-
-