Class VmaPoolCreateInfo.Buffer

java.lang.Object
org.lwjgl.system.Pointer.Default
org.lwjgl.system.CustomBuffer<VmaPoolCreateInfo.Buffer>
org.lwjgl.system.StructBuffer<VmaPoolCreateInfo,VmaPoolCreateInfo.Buffer>
org.lwjgl.util.vma.VmaPoolCreateInfo.Buffer
All Implemented Interfaces:
AutoCloseable, Iterable<VmaPoolCreateInfo>, org.lwjgl.system.NativeResource, org.lwjgl.system.Pointer
Enclosing class:
VmaPoolCreateInfo

public static class VmaPoolCreateInfo.Buffer extends org.lwjgl.system.StructBuffer<VmaPoolCreateInfo,VmaPoolCreateInfo.Buffer> implements org.lwjgl.system.NativeResource
An array of VmaPoolCreateInfo structs.
  • Constructor Details

    • Buffer

      public Buffer(ByteBuffer container)
      Creates a new VmaPoolCreateInfo.Buffer instance backed by the specified container.

      Changes to the container's content will be visible to the struct buffer instance and vice versa. The two buffers' position, limit, and mark values will be independent. The new buffer's position will be zero, its capacity and its limit will be the number of bytes remaining in this buffer divided by VmaPoolCreateInfo.SIZEOF, and its mark will be undefined.

      The created buffer instance holds a strong reference to the container object.

    • Buffer

      public Buffer(long address, int cap)
  • Method Details

    • memoryTypeIndex

      public int memoryTypeIndex()
      Returns:
      the value of the VmaPoolCreateInfo.memoryTypeIndex() field.
    • flags

      public int flags()
      Returns:
      the value of the VmaPoolCreateInfo.flags() field.
    • blockSize

      public long blockSize()
      Returns:
      the value of the VmaPoolCreateInfo.blockSize() field.
    • minBlockCount

      public long minBlockCount()
      Returns:
      the value of the VmaPoolCreateInfo.minBlockCount() field.
    • maxBlockCount

      public long maxBlockCount()
      Returns:
      the value of the VmaPoolCreateInfo.maxBlockCount() field.
    • priority

      public float priority()
      Returns:
      the value of the VmaPoolCreateInfo.priority() field.
    • minAllocationAlignment

      public long minAllocationAlignment()
      Returns:
      the value of the VmaPoolCreateInfo.minAllocationAlignment() field.
    • pMemoryAllocateNext

      public long pMemoryAllocateNext()
      Returns:
      the value of the VmaPoolCreateInfo.pMemoryAllocateNext() field.
    • memoryTypeIndex

      public VmaPoolCreateInfo.Buffer memoryTypeIndex(int value)
      Sets the specified value to the VmaPoolCreateInfo.memoryTypeIndex() field.
    • flags

      public VmaPoolCreateInfo.Buffer flags(int value)
      Sets the specified value to the VmaPoolCreateInfo.flags() field.
    • blockSize

      public VmaPoolCreateInfo.Buffer blockSize(long value)
      Sets the specified value to the VmaPoolCreateInfo.blockSize() field.
    • minBlockCount

      public VmaPoolCreateInfo.Buffer minBlockCount(long value)
      Sets the specified value to the VmaPoolCreateInfo.minBlockCount() field.
    • maxBlockCount

      public VmaPoolCreateInfo.Buffer maxBlockCount(long value)
      Sets the specified value to the VmaPoolCreateInfo.maxBlockCount() field.
    • priority

      public VmaPoolCreateInfo.Buffer priority(float value)
      Sets the specified value to the VmaPoolCreateInfo.priority() field.
    • minAllocationAlignment

      public VmaPoolCreateInfo.Buffer minAllocationAlignment(long value)
      Sets the specified value to the VmaPoolCreateInfo.minAllocationAlignment() field.
    • pMemoryAllocateNext

      public VmaPoolCreateInfo.Buffer pMemoryAllocateNext(long value)
      Sets the specified value to the VmaPoolCreateInfo.pMemoryAllocateNext() field.
    • pMemoryAllocateNext

      public VmaPoolCreateInfo.Buffer pMemoryAllocateNext(org.lwjgl.vulkan.VkDedicatedAllocationMemoryAllocateInfoNV value)
      Prepends the specified VkDedicatedAllocationMemoryAllocateInfoNV value to the pMemoryAllocateNext chain.
    • pMemoryAllocateNext

      public VmaPoolCreateInfo.Buffer pMemoryAllocateNext(org.lwjgl.vulkan.VkExportMemoryAllocateInfo value)
      Prepends the specified VkExportMemoryAllocateInfo value to the pMemoryAllocateNext chain.
    • pMemoryAllocateNext

      public VmaPoolCreateInfo.Buffer pMemoryAllocateNext(org.lwjgl.vulkan.VkExportMemoryAllocateInfoKHR value)
      Prepends the specified VkExportMemoryAllocateInfoKHR value to the pMemoryAllocateNext chain.
    • pMemoryAllocateNext

      public VmaPoolCreateInfo.Buffer pMemoryAllocateNext(org.lwjgl.vulkan.VkExportMemoryAllocateInfoNV value)
      Prepends the specified VkExportMemoryAllocateInfoNV value to the pMemoryAllocateNext chain.
    • pMemoryAllocateNext

      public VmaPoolCreateInfo.Buffer pMemoryAllocateNext(org.lwjgl.vulkan.VkExportMemoryWin32HandleInfoKHR value)
      Prepends the specified VkExportMemoryWin32HandleInfoKHR value to the pMemoryAllocateNext chain.
    • pMemoryAllocateNext

      public VmaPoolCreateInfo.Buffer pMemoryAllocateNext(org.lwjgl.vulkan.VkExportMemoryWin32HandleInfoNV value)
      Prepends the specified VkExportMemoryWin32HandleInfoNV value to the pMemoryAllocateNext chain.
    • pMemoryAllocateNext

      public VmaPoolCreateInfo.Buffer pMemoryAllocateNext(org.lwjgl.vulkan.VkExportMetalObjectCreateInfoEXT value)
      Prepends the specified VkExportMetalObjectCreateInfoEXT value to the pMemoryAllocateNext chain.
    • pMemoryAllocateNext

      public VmaPoolCreateInfo.Buffer pMemoryAllocateNext(org.lwjgl.vulkan.VkImportAndroidHardwareBufferInfoANDROID value)
      Prepends the specified VkImportAndroidHardwareBufferInfoANDROID value to the pMemoryAllocateNext chain.
    • pMemoryAllocateNext

      public VmaPoolCreateInfo.Buffer pMemoryAllocateNext(org.lwjgl.vulkan.VkImportMemoryFdInfoKHR value)
      Prepends the specified VkImportMemoryFdInfoKHR value to the pMemoryAllocateNext chain.
    • pMemoryAllocateNext

      public VmaPoolCreateInfo.Buffer pMemoryAllocateNext(org.lwjgl.vulkan.VkImportMemoryHostPointerInfoEXT value)
      Prepends the specified VkImportMemoryHostPointerInfoEXT value to the pMemoryAllocateNext chain.
    • pMemoryAllocateNext

      public VmaPoolCreateInfo.Buffer pMemoryAllocateNext(org.lwjgl.vulkan.VkImportMemoryWin32HandleInfoKHR value)
      Prepends the specified VkImportMemoryWin32HandleInfoKHR value to the pMemoryAllocateNext chain.
    • pMemoryAllocateNext

      public VmaPoolCreateInfo.Buffer pMemoryAllocateNext(org.lwjgl.vulkan.VkImportMemoryWin32HandleInfoNV value)
      Prepends the specified VkImportMemoryWin32HandleInfoNV value to the pMemoryAllocateNext chain.
    • pMemoryAllocateNext

      public VmaPoolCreateInfo.Buffer pMemoryAllocateNext(org.lwjgl.vulkan.VkImportMetalBufferInfoEXT value)
      Prepends the specified VkImportMetalBufferInfoEXT value to the pMemoryAllocateNext chain.
    • pMemoryAllocateNext

      public VmaPoolCreateInfo.Buffer pMemoryAllocateNext(org.lwjgl.vulkan.VkMemoryAllocateFlagsInfo value)
      Prepends the specified VkMemoryAllocateFlagsInfo value to the pMemoryAllocateNext chain.
    • pMemoryAllocateNext

      public VmaPoolCreateInfo.Buffer pMemoryAllocateNext(org.lwjgl.vulkan.VkMemoryAllocateFlagsInfoKHR value)
      Prepends the specified VkMemoryAllocateFlagsInfoKHR value to the pMemoryAllocateNext chain.
    • pMemoryAllocateNext

      public VmaPoolCreateInfo.Buffer pMemoryAllocateNext(org.lwjgl.vulkan.VkMemoryDedicatedAllocateInfo value)
      Prepends the specified VkMemoryDedicatedAllocateInfo value to the pMemoryAllocateNext chain.
    • pMemoryAllocateNext

      public VmaPoolCreateInfo.Buffer pMemoryAllocateNext(org.lwjgl.vulkan.VkMemoryDedicatedAllocateInfoKHR value)
      Prepends the specified VkMemoryDedicatedAllocateInfoKHR value to the pMemoryAllocateNext chain.
    • pMemoryAllocateNext

      public VmaPoolCreateInfo.Buffer pMemoryAllocateNext(org.lwjgl.vulkan.VkMemoryOpaqueCaptureAddressAllocateInfo value)
      Prepends the specified VkMemoryOpaqueCaptureAddressAllocateInfo value to the pMemoryAllocateNext chain.
    • pMemoryAllocateNext

      public VmaPoolCreateInfo.Buffer pMemoryAllocateNext(org.lwjgl.vulkan.VkMemoryOpaqueCaptureAddressAllocateInfoKHR value)
      Prepends the specified VkMemoryOpaqueCaptureAddressAllocateInfoKHR value to the pMemoryAllocateNext chain.
    • pMemoryAllocateNext

      public VmaPoolCreateInfo.Buffer pMemoryAllocateNext(org.lwjgl.vulkan.VkMemoryPriorityAllocateInfoEXT value)
      Prepends the specified VkMemoryPriorityAllocateInfoEXT value to the pMemoryAllocateNext chain.