Interface VMAAllocationCreateInfoType

  • All Known Implementing Classes:
    VMAAllocationCreateInfo

    @Immutable
    public interface VMAAllocationCreateInfoType
    Information required to create an allocation.
    • Method Detail

      • usage

        @Parameter
        VMAMemoryUsage usage()
        Returns:
        The intended usage of the memory allocation
      • requiredFlags

        @Parameter
        java.util.Set<VulkanMemoryPropertyFlag> requiredFlags()
        Returns:
        The flags that must be set in a memory type chosen for an allocation.
      • preferredFlags

        @Parameter
        java.util.Set<VulkanMemoryPropertyFlag> preferredFlags()
        Returns:
        The flags that preferably should be set in a memory type chosen for an allocation.
      • memoryTypeBits

        @Parameter
        long memoryTypeBits()
        Returns:
        A bitmask containing one bit set for every memory type acceptable for this allocation.