Package icyllis.arc3d.vulkan
Class VulkanCommandPool
java.lang.Object
icyllis.arc3d.core.RefCnt
icyllis.arc3d.engine.ManagedResource
icyllis.arc3d.vulkan.VulkanCommandPool
- All Implemented Interfaces:
RefCounted
VkCommandPool is created with a single primary command buffer and (optional)
a set of secondary command buffers. After submission, the command pool enters
the in flight state, and we will continuously check whether the GPU has finished
the work to recycle the VkCommandPool (and its command buffers).
-
Method Summary
Modifier and TypeMethodDescriptionboolean
check()
static VulkanCommandPool
create
(VulkanDevice device) protected void
Override this method to invoke de-allocation of the underlying resource.protected VulkanDevice
boolean
void
reset()
boolean
submit()
-
Method Details
-
create
-
deallocate
protected void deallocate()Description copied from class:RefCnt
Override this method to invoke de-allocation of the underlying resource.- Specified by:
deallocate
in classRefCnt
-
submit
public boolean submit() -
check
public boolean check() -
reset
public void reset() -
isSubmitted
public boolean isSubmitted() -
getDevice
- Overrides:
getDevice
in classManagedResource
-