Class MgfxWriterOptions
- Namespace
- ShadowDusk.Core
- Assembly
- ShadowDusk.Core.dll
Settings for the MgfxWriter: the backend MgfxProfile to stamp into the header and the MGFX container version to emit.
public sealed record MgfxWriterOptions : IEquatable<MgfxWriterOptions>
- Inheritance
-
MgfxWriterOptions
- Implements
- Inherited Members
Constructors
MgfxWriterOptions(MgfxProfile, byte)
Settings for the MgfxWriter: the backend MgfxProfile to stamp into the header and the MGFX container version to emit.
public MgfxWriterOptions(MgfxProfile Profile, byte MgfxVersion = 10)
Parameters
ProfileMgfxProfileThe backend profile byte written into the MGFX header.
MgfxVersionbyteThe MGFX container version; defaults to
10(the most backwards-compatible).
Properties
MgfxVersion
The MGFX container version; defaults to 10 (the most backwards-compatible).
public byte MgfxVersion { get; init; }
Property Value
Profile
The backend profile byte written into the MGFX header.
public MgfxProfile Profile { get; init; }