GraphicsAPI reference
Struct PassDescription
Namespace: MicroEngine.Graphics.Devices
Assembly: MicroEngine.Graphics.dll
Guide: The graphics device
A render pass: one colour attachment and an optional depth attachment (several colour attachments are a later, additive extension). Viewport and scissor start as the whole colour target; bindings start empty.
public readonly struct PassDescription : IEquatable<PassDescription>Implements
Constructors
PassDescription(ColorAttachment, DepthAttachment?)
A render pass: one colour attachment and an optional depth attachment (several colour attachments are a later, additive extension). Viewport and scissor start as the whole colour target; bindings start empty.
public PassDescription(ColorAttachment Color, DepthAttachment? Depth = null)Parameters
Color ColorAttachment
Colour attachment.
Depth DepthAttachment?
Depth attachment, or null.
Properties
Color
Colour attachment.
public ColorAttachment Color { get; init; }Property Value
Depth
Depth attachment, or null.
public DepthAttachment? Depth { get; init; }Property Value
Methods
Deconstruct(out ColorAttachment, out DepthAttachment?)
public void Deconstruct(out ColorAttachment Color, out DepthAttachment? Depth)Parameters
Color ColorAttachment
Depth DepthAttachment?
Equals(object)
public override bool Equals(object obj)Parameters
obj object
Returns
Equals(PassDescription)
public bool Equals(PassDescription other)Parameters
other PassDescription
Returns
GetHashCode()
public override int GetHashCode()Returns
ToString()
public override string ToString()Returns
Operators
operator ==(PassDescription, PassDescription)
public static bool operator ==(PassDescription left, PassDescription right)Parameters
left PassDescription
right PassDescription
Returns
operator !=(PassDescription, PassDescription)
public static bool operator !=(PassDescription left, PassDescription right)Parameters
left PassDescription
right PassDescription