Struct ImageRegion¶
Namespace: Apogee.Graphics
Assembly: Apogee.Graphics.dll
Where in a staging buffer the bytes of one image subresource are.
public readonly record struct ImageRegion : IEquatable<ImageRegion>
Implements¶
Inherited Members¶
object.Equals(object?), object.Equals(object?, object?), object.GetHashCode(), object.GetType(), object.ReferenceEquals(object?, object?), object.ToString()
Constructors¶
ImageRegion(ulong, uint, uint, uint, uint, uint)¶
Where in a staging buffer the bytes of one image subresource are.
public ImageRegion(ulong BufferOffset, uint MipLevel, uint ArrayLayer, uint Width, uint Height, uint Depth = 1)
Parameters¶
BufferOffset ulong
MipLevel uint
ArrayLayer uint
Width uint
Height uint
Depth uint
Properties¶
ArrayLayer¶
public uint ArrayLayer { get; init; }
Property Value¶
BufferOffset¶
public ulong BufferOffset { get; init; }
Property Value¶
Depth¶
public uint Depth { get; init; }
Property Value¶
Height¶
public uint Height { get; init; }
Property Value¶
MipLevel¶
public uint MipLevel { get; init; }
Property Value¶
Width¶
public uint Width { get; init; }