namespace Brutal.VulkanApi.Abstractions;
///
/// Anything that exposes a Vulkan image view. Systems that hold a binding by interface
/// (rather than a raw ) can re-resolve the view after the
/// underlying resource is recreated, e.g. on a resize.
///
public interface IImageView
{
///
/// The current image view handle.
///
VkImageView VkImageView { get; }
}
///
/// Anything that exposes an image together with a subresource range and extent -
/// the shape that barrier, copy, and staging helpers operate on.
///
public interface IImageSubresourceRange
{
///
/// The image handle.
///
VkImage VkImage { get; }
///
/// The subresource range this object covers.
///
VkImageSubresourceRange SubresourceRange { get; }
///
/// The extent of the covered region at the range's base mip level (mip 0 of the image
/// shifted down by BaseMipLevel, clamped to 1).
///
VkExtent3D Extent { get; }
}