Skip to content

Struct ImageHandle

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

A graph image: a transient one the graph allocates, or an imported one (the window's image, a persistent texture). Valid for one graph.

public readonly record struct ImageHandle : IEquatable<ImageHandle>

Implements

IEquatable<ImageHandle>

Inherited Members

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

Constructors

ImageHandle(int, int)

A graph image: a transient one the graph allocates, or an imported one (the window's image, a persistent texture). Valid for one graph.

public ImageHandle(int Index, int Graph)

Parameters

Index int

Graph int

Properties

Graph

public int Graph { get; init; }

Property Value

int

Index

public int Index { get; init; }

Property Value

int

IsValid

public bool IsValid { get; }

Property Value

bool