Interface VulkanQueueType
- All Superinterfaces:
AutoCloseable, VulkanHandleDispatchableType, VulkanHandleType
- All Known Implementing Classes:
VulkanLWJGLQueue
A queue on a logical device.
- See Also:
-
Method Summary
Modifier and TypeMethodDescriptiondefault VulkanQueueFamilyIndexdefault voidsubmit(List<VulkanSubmitInfo> submissions) Submit the given list of queue submissions.voidsubmit(List<VulkanSubmitInfo> submissions, Optional<VulkanFenceType> fence) Submit the given list of queue submissions.voidwaitIdle()Wait until all items in the given queue have finished executing.Methods inherited from interface VulkanHandleType
close, isClosed
-
Method Details
-
queueFamilyProperties
VulkanQueueFamilyProperties queueFamilyProperties()- Returns:
- The properties for the queue family to which this queue belongs
-
queueIndex
VulkanQueueIndex queueIndex()- Returns:
- The index of the queue within the queue family to which it belongs
-
queueFamilyIndex
- Returns:
- The queue family index
- See Also:
-
submit
void submit(List<VulkanSubmitInfo> submissions, Optional<VulkanFenceType> fence) throws VulkanException Submit the given list of queue submissions. If a fence is provided, the fence is signalled when all of the command buffers have finished executing.- Parameters:
submissions- The queue submissionsfence- A fence- Throws:
VulkanException- On errors
-
submit
Submit the given list of queue submissions.- Parameters:
submissions- The queue submissions- Throws:
VulkanException- On errors
-
waitIdle
Wait until all items in the given queue have finished executing.- Throws:
VulkanException- On errors
-