-
- All Superinterfaces:
java.lang.AutoCloseable
,VulkanHandleDispatchableType
,VulkanHandleType
- All Known Implementing Classes:
VulkanLWJGLQueue
public interface VulkanQueueType extends VulkanHandleDispatchableType
A queue on a logical device.- See Also:
- "VkQueue"
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description VulkanQueueFamilyProperties
queueFamilyProperties()
int
queueIndex()
default void
submit(java.util.List<VulkanSubmitInfo> submissions)
Submit the given list of queue submissions.void
submit(java.util.List<VulkanSubmitInfo> submissions, java.util.Optional<VulkanFenceType> fence)
Submit the given list of queue submissions.void
waitIdle()
Wait until all items in the given queue have finished executing.-
Methods inherited from interface com.io7m.jcoronado.api.VulkanHandleType
close, isClosed
-
-
-
-
Method Detail
-
queueFamilyProperties
VulkanQueueFamilyProperties queueFamilyProperties()
- Returns:
- The properties for the queue family to which this queue belongs
-
queueIndex
int queueIndex()
- Returns:
- The index of the queue within the queue family to which it belongs
-
submit
void submit(java.util.List<VulkanSubmitInfo> submissions, java.util.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
default void submit(java.util.List<VulkanSubmitInfo> submissions) throws VulkanException
Submit the given list of queue submissions.- Parameters:
submissions
- The queue submissions- Throws:
VulkanException
- On errors
-
waitIdle
void waitIdle() throws VulkanException
Wait until all items in the given queue have finished executing.- Throws:
VulkanException
- On errors
-
-