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 Link icon

    • create Link icon

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

      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 Link icon

      public boolean submit()
    • check Link icon

      public boolean check()
    • reset Link icon

      public void reset()
    • isSubmitted Link icon

      public boolean isSubmitted()
    • getDevice Link icon

      protected VulkanDevice getDevice()
      Overrides:
      getDevice in class ManagedResource