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
NamestringThe technique name.
AnnotationsIReadOnlyList<AnnotationInfo>FX annotations attached to the technique.
PassesIReadOnlyList<MgfxPassInfo>The technique's passes, in source order.
Properties
Annotations
FX annotations attached to the technique.
public IReadOnlyList<AnnotationInfo> Annotations { get; init; }
Property Value
Name
The technique name.
public string Name { get; init; }
Property Value
Passes
The technique's passes, in source order.
public IReadOnlyList<MgfxPassInfo> Passes { get; init; }