namespace Brutal.TextureApi.Abstractions; /// /// A region of data for uploading to a range of layers within a single level of an image. /// public class UploadRegion { /// /// Offset in the staging buffer where this region starts. /// public ByteSize BufferOffset; /// /// The array (or faces if this is a non-array cube map) layer index this region starts at. /// public int BaseLayer { get; set; } /// /// The number of array layers (or faces if this is a non-array cube map) /// this region encompasses. /// public int LayerCount { get; set; } /// /// The mip level that this UploadRegion starts at. /// public int BaseLevel { get; set; } }