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 TypeMethodDescriptionbooleancheck()static @Nullable VulkanCommandPoolcreate(VulkanDevice device) protected voidOverride this method to invoke de-allocation of the underlying resource.protected VulkanDevicebooleanvoidreset()booleansubmit()
-
Method Details
-
create
-
deallocate
protected void deallocate()Description copied from class:RefCntOverride this method to invoke de-allocation of the underlying resource.- Specified by:
deallocatein classRefCnt
-
submit
public boolean submit() -
check
public boolean check() -
reset
public void reset() -
isSubmitted
public boolean isSubmitted() -
getDevice
- Overrides:
getDevicein classManagedResource
-