Table of Contents

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

Profile MgfxProfile

The backend profile byte written into the MGFX header.

MgfxVersion byte

The 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

byte

Profile

The backend profile byte written into the MGFX header.

public MgfxProfile Profile { get; init; }

Property Value

MgfxProfile