Interface VulkanSubresourceLayoutType

All Known Implementing Classes:
VulkanSubresourceLayout

@Immutable public interface VulkanSubresourceLayoutType
Structure specifying subresource layout.
See Also:
  • "VkSubresourceLayout"
  • Method Summary

    Modifier and Type
    Method
    Description
    default long
     
    default long
     
    default long
     
    default long
     
    default long
     
  • Method Details

    • offset

      @Default default long offset()
      Returns:
      The byte offset from the start of the image or the plane where the image subresource begins.
    • size

      @Default default long size()
      Returns:
      The size in bytes of the image subresource. size includes any extra memory that is required based on rowPitch.
    • rowPitch

      @Default default long rowPitch()
      Returns:
      The number of bytes between each row of texels in an image.
    • arrayPitch

      @Default default long arrayPitch()
      Returns:
      The number of bytes between each array layer of an image.
    • depthPitch

      @Default default long depthPitch()
      Returns:
      The number of bytes between each slice of 3D image.