Table of Contents

Class MgfxTechniqueInfo

Namespace
ShadowDusk.Core
Assembly
ShadowDusk.Core.dll

One effect technique as the MGFX writer serializes it: its name, any FX annotations, and its ordered passes.

public sealed record MgfxTechniqueInfo : IEquatable<MgfxTechniqueInfo>
Inheritance
MgfxTechniqueInfo
Implements
Inherited Members

Constructors

MgfxTechniqueInfo(string, IReadOnlyList<AnnotationInfo>, IReadOnlyList<MgfxPassInfo>)

One effect technique as the MGFX writer serializes it: its name, any FX annotations, and its ordered passes.

public MgfxTechniqueInfo(string Name, IReadOnlyList<AnnotationInfo> Annotations, IReadOnlyList<MgfxPassInfo> Passes)

Parameters

Name string

The technique name.

Annotations IReadOnlyList<AnnotationInfo>

FX annotations attached to the technique.

Passes IReadOnlyList<MgfxPassInfo>

The technique's passes, in source order.

Properties

Annotations

FX annotations attached to the technique.

public IReadOnlyList<AnnotationInfo> Annotations { get; init; }

Property Value

IReadOnlyList<AnnotationInfo>

Name

The technique name.

public string Name { get; init; }

Property Value

string

Passes

The technique's passes, in source order.

public IReadOnlyList<MgfxPassInfo> Passes { get; init; }

Property Value

IReadOnlyList<MgfxPassInfo>