mirror of
https://github.com/ahwootech/BRUTAL.git
synced 2026-11-26 13:08:24 +01:00
SOURCE DUMP v1
This commit is contained in:
parent
bd62d51ec9
commit
fb20299e9d
1 changed files with 768360 additions and 0 deletions
|
|
@ -0,0 +1,28 @@
|
|||
namespace Brutal.TextureApi.Abstractions;
|
||||
|
||||
/// <summary>
|
||||
/// A region of data for uploading to a range of layers within a single level of an image.
|
||||
/// </summary>
|
||||
public class UploadRegion
|
||||
{
|
||||
/// <summary>
|
||||
/// Offset in the staging buffer where this region starts.
|
||||
/// </summary>
|
||||
public ByteSize BufferOffset;
|
||||
|
||||
/// <summary>
|
||||
/// The array (or faces if this is a non-array cube map) layer index this region starts at.
|
||||
/// </summary>
|
||||
public int BaseLayer { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// The number of array layers (or faces if this is a non-array cube map)
|
||||
/// this region encompasses.
|
||||
/// </summary>
|
||||
public int LayerCount { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// The mip level that this UploadRegion starts at.
|
||||
/// </summary>
|
||||
public int BaseLevel { get; set; }
|
||||
}
|
||||
Loading…
Reference in a new issue