Class VulkanCommandPool

java.lang.Object
com.mojang.blaze3d.vulkan.VulkanCommandPool
All Implemented Interfaces:
Destroyable

public class VulkanCommandPool extends Object implements Destroyable
  • Field Details

    • BUFFER_ALLOC_COUNT

      private static final int BUFFER_ALLOC_COUNT
      See Also:
    • HANDLE_BUFFER_BLOCK_SIZE

      private static final int HANDLE_BUFFER_BLOCK_SIZE
      See Also:
    • device

      private final VulkanDevice device
    • commandPool

      private final long commandPool
    • allocatedBuffers

      private PointerBuffer allocatedBuffers
  • Constructor Details

  • Method Details

    • destroy

      public void destroy()
      Specified by:
      destroy in interface Destroyable
    • release

      public void release()
    • reset

      public void reset()
    • allocateMoreBuffers

      private void allocateMoreBuffers()
    • allocateBuffer

      public VkCommandBuffer allocateBuffer()