Skip to content

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

IEquatable<ImageRegion>

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

uint

BufferOffset

public ulong BufferOffset { get; init; }

Property Value

ulong

Depth

public uint Depth { get; init; }

Property Value

uint

Height

public uint Height { get; init; }

Property Value

uint

MipLevel

public uint MipLevel { get; init; }

Property Value

uint

Width

public uint Width { get; init; }

Property Value

uint