Interface VulkanMemoryRequirementsType

  • All Known Implementing Classes:
    VulkanMemoryRequirements

    @Immutable
    public interface VulkanMemoryRequirementsType
    See Also:
    "VkMemoryRequirements"
    • Method Detail

      • size

        @Parameter
        long size()
        Returns:
        The size, in bytes, of the memory allocation required for the resource.
      • alignment

        @Parameter
        long alignment()
        Returns:
        The alignment, in bytes, of the offset within the allocation required for the resource.
      • memoryTypeBits

        @Parameter
        int memoryTypeBits()
        Returns:
        A bitmask that contains one bit set for every supported memory type for the resource. Bit i is set if and only if the memory type i in the VkPhysicalDeviceMemoryProperties structure for the physical device is supported for the resource.