Class VFakeQueue
java.lang.Object
com.io7m.jcoronado.fake.VFakeQueue
- All Implemented Interfaces:
VulkanHandleDispatchableType, VulkanHandleType, VulkanQueueType, com.io7m.jmulticlose.core.CloseableType, AutoCloseable
A queue.
-
Constructor Summary
ConstructorsConstructorDescriptionVFakeQueue(VFakeLogicalDevice inDevice, VulkanQueueFamilyProperties inProperties, VulkanQueueIndex inIndex) A queue. -
Method Summary
Modifier and TypeMethodDescriptionvoidclose()Destroy the object.booleanisClosed()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 class Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface VulkanQueueType
queueFamilyIndex, submit
-
Constructor Details
-
VFakeQueue
public VFakeQueue(VFakeLogicalDevice inDevice, VulkanQueueFamilyProperties inProperties, VulkanQueueIndex inIndex) A queue.- Parameters:
inDevice- The owner deviceinProperties- The queue propertiesinIndex- The queue index
-
-
Method Details
-
queueFamilyProperties
- Specified by:
queueFamilyPropertiesin interfaceVulkanQueueType- Returns:
- The properties for the queue family to which this queue belongs
-
queueIndex
- Specified by:
queueIndexin interfaceVulkanQueueType- Returns:
- The index of the queue within the queue family to which it belongs
-
submit
Description copied from interface:VulkanQueueTypeSubmit the given list of queue submissions. If a fence is provided, the fence is signalled when all of the command buffers have finished executing.- Specified by:
submitin interfaceVulkanQueueType- Parameters:
submissions- The queue submissionsfence- A fence
-
waitIdle
Description copied from interface:VulkanQueueTypeWait until all items in the given queue have finished executing.- Specified by:
waitIdlein interfaceVulkanQueueType- Throws:
VulkanException- On errors
-
close
public void close()Description copied from interface:VulkanHandleTypeDestroy the object.- Specified by:
closein interfaceAutoCloseable- Specified by:
closein interfaceVulkanHandleType
-
isClosed
public boolean isClosed()- Specified by:
isClosedin interfacecom.io7m.jmulticlose.core.CloseableType
-