Class VulkanCommandPool

All Implemented Interfaces:
RefCounted

public class VulkanCommandPool extends ManagedResource
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 Details

    • create

      @Nullable public static VulkanCommandPool create(VulkanDevice device)
    • deallocate

      protected void deallocate()
      Description copied from class: RefCnt
      Override this method to invoke de-allocation of the underlying resource.
      Specified by:
      deallocate in class RefCnt
    • submit

      public boolean submit()
    • check

      public boolean check()
    • reset

      public void reset()
    • isSubmitted

      public boolean isSubmitted()
    • getDevice

      protected VulkanDevice getDevice()
      Overrides:
      getDevice in class ManagedResource