Skip to content

Struct ResolvedImage

Namespace: Apogee.Rendering.Graph
Assembly: Apogee.Rendering.dll

An image as a pass sees it while it runs.

public readonly record struct ResolvedImage : IEquatable<ResolvedImage>

Implements

IEquatable<ResolvedImage>

Inherited Members

object.Equals(object?), object.Equals(object?, object?), object.GetHashCode(), object.GetType(), object.ReferenceEquals(object?, object?), object.ToString()

Constructors

ResolvedImage(GpuImage, ImageView, PixelFormat, uint, uint, uint, uint)

An image as a pass sees it while it runs.

public ResolvedImage(GpuImage Image, ImageView View, PixelFormat Format, uint Width, uint Height, uint SampledIndex, uint StorageIndex)

Parameters

Image GpuImage

View ImageView

Format PixelFormat

Width uint

Height uint

SampledIndex uint

The bindless index to read it with (a transient image with ), or 0.

StorageIndex uint

The bindless storage image index (a transient image with ), or 0.

Properties

Format

public PixelFormat Format { get; init; }

Property Value

PixelFormat

Height

public uint Height { get; init; }

Property Value

uint

Image

public GpuImage Image { get; init; }

Property Value

GpuImage

SampledIndex

The bindless index to read it with (a transient image with ), or 0.

public uint SampledIndex { get; init; }

Property Value

uint

StorageIndex

The bindless storage image index (a transient image with ), or 0.

public uint StorageIndex { get; init; }

Property Value

uint

View

public ImageView View { get; init; }

Property Value

ImageView

Width

public uint Width { get; init; }

Property Value

uint