-
- All Known Implementing Classes:
VulkanSubresourceLayout
@Immutable public interface VulkanSubresourceLayoutType
Structure specifying subresource layout.- See Also:
- "VkSubresourceLayout"
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description long
arrayPitch()
long
depthPitch()
long
offset()
long
rowPitch()
long
size()
-
-
-
Method Detail
-
offset
@Parameter long offset()
- Returns:
- The byte offset from the start of the image or the plane where the image subresource begins.
-
size
@Parameter long size()
- Returns:
- The size in bytes of the image subresource. size includes any extra memory that is required based on rowPitch.
-
rowPitch
@Parameter long rowPitch()
- Returns:
- The number of bytes between each row of texels in an image.
-
arrayPitch
@Parameter long arrayPitch()
- Returns:
- The number of bytes between each array layer of an image.
-
depthPitch
@Parameter long depthPitch()
- Returns:
- The number of bytes between each slice of 3D image.
-
-