Struct ColorTarget¶
Namespace: Apogee.Graphics
Assembly: Apogee.Graphics.dll
A color attachment to render into: its view (the image is in
public readonly record struct ColorTarget : IEquatable<ColorTarget>
Implements¶
Inherited Members¶
object.Equals(object?), object.Equals(object?, object?), object.GetHashCode(), object.GetType(), object.ReferenceEquals(object?, object?), object.ToString()
Constructors¶
ColorTarget(ImageView, bool, Vector4, bool)¶
A color attachment to render into: its view (the image is in
public ColorTarget(ImageView View, bool Clear = false, Vector4 ClearColor = default, bool Store = true)
Parameters¶
View ImageView
Clear bool
ClearColor Vector4
Store bool
Properties¶
Clear¶
public bool Clear { get; init; }
Property Value¶
ClearColor¶
public Vector4 ClearColor { get; init; }
Property Value¶
Store¶
public bool Store { get; init; }
Property Value¶
View¶
public ImageView View { get; init; }