namespace Brutal.TextureApi.Abstractions; /// /// Holds a collection of regions for copying texture data from a texture to a staging buffer, /// and from the staging buffer to an image. /// public class StageUploadRegions { /// /// The regions in the source texture's memory to copy /// public List StageBufferRegions = []; /// /// The regions in a staging buffer copied using the StageBufferRegions /// that can be copied to the images on a GPU using a GPU API. /// public List CopyToImageRegions = []; /// /// The minimum number of bytes that your staging buffer needs to be /// to accept the copied StageBufferRegions /// public ByteSize RequiredBufferSizeBytes; }