Struct DepthTarget¶
Namespace: Apogee.Graphics
Assembly: Apogee.Graphics.dll
The depth attachment. The engine uses reverse-Z, so the usual clear value is 0 (the far plane).
public readonly record struct DepthTarget : IEquatable<DepthTarget>
Implements¶
Inherited Members¶
object.Equals(object?), object.Equals(object?, object?), object.GetHashCode(), object.GetType(), object.ReferenceEquals(object?, object?), object.ToString()
Constructors¶
DepthTarget(ImageView, bool, float, bool, bool)¶
The depth attachment. The engine uses reverse-Z, so the usual clear value is 0 (the far plane).
public DepthTarget(ImageView View, bool Clear = false, float ClearDepth = 0, bool Store = true, bool ReadOnly = false)
Parameters¶
View ImageView
Clear bool
ClearDepth float
Store bool
ReadOnly bool
Properties¶
Clear¶
public bool Clear { get; init; }
Property Value¶
ClearDepth¶
public float ClearDepth { get; init; }
Property Value¶
ReadOnly¶
public bool ReadOnly { get; init; }
Property Value¶
Store¶
public bool Store { get; init; }
Property Value¶
View¶
public ImageView View { get; init; }