Table of Contents

Enum MgfxProfile

Namespace
ShadowDusk.Core
Assembly
ShadowDusk.Core.dll

The profile byte written into the MGFX binary header, identifying the shader backend an effect was compiled for. These byte values are deliberately NOT the same as PlatformTarget ordinals (PlatformTarget.DirectX=0, OpenGL=1 vs MgfxProfile.OpenGL=0, DirectX11=1) — always use these values when writing the format's profile byte.

public enum MgfxProfile : byte

Fields

DirectX11 = 1

The DirectX 11 / DXBC profile (MGFX profile byte 1).

OpenGL = 0

The OpenGL/GLSL profile (MGFX profile byte 0).

Vulkan = 3

The Vulkan / SPIR-V profile (MGFX profile byte 3); reserved for a future backend.