Package icyllis.arc3d.vulkan
Class VulkanBackendContext
java.lang.Object
icyllis.arc3d.vulkan.VulkanBackendContext
The
VulkanBackendContext
contains all the base Vulkan objects needed by the
VulkanDevice
. The assumption is that the client will set these up and pass
them to the VulkanDevice
constructor. The VulkanDevice
created must
support at least one graphics queue, which is passed in as well.
The QueueFamilyIndex must match the family of the given queue. It is needed for CommandPool
creation, and any BackendObjects handed to us (e.g., for wrapped textures) needs to be created
in or transitioned to that family. The refs held by members of this struct must be released
(either by deleting the struct or manually releasing the refs) before the underlying Vulkan
device and instance are destroyed.-
Field Summary
Modifier and TypeFieldDescriptionorg.lwjgl.vulkan.VkDevice
org.lwjgl.vulkan.VkPhysicalDeviceFeatures
org.lwjgl.vulkan.VkPhysicalDeviceFeatures2
int
org.lwjgl.vulkan.VkInstance
int
org.lwjgl.vulkan.VkPhysicalDevice
boolean
org.lwjgl.vulkan.VkQueue
-
Constructor Summary
-
Method Summary
-
Field Details
-
mInstance
public org.lwjgl.vulkan.VkInstance mInstance -
mPhysicalDevice
public org.lwjgl.vulkan.VkPhysicalDevice mPhysicalDevice -
mDevice
public org.lwjgl.vulkan.VkDevice mDevice -
mQueue
public org.lwjgl.vulkan.VkQueue mQueue -
mGraphicsQueueIndex
public int mGraphicsQueueIndex -
mMaxAPIVersion
public int mMaxAPIVersion -
mDeviceFeatures
public org.lwjgl.vulkan.VkPhysicalDeviceFeatures mDeviceFeatures -
mDeviceFeatures2
public org.lwjgl.vulkan.VkPhysicalDeviceFeatures2 mDeviceFeatures2 -
mMemoryAllocator
-
mProtectedContext
public boolean mProtectedContext
-
-
Constructor Details
-
VulkanBackendContext
public VulkanBackendContext()
-