Table of Contents

Enum BlobKind

Namespace
ShadowDusk.HLSL.Dxc
Assembly
ShadowDusk.HLSL.dll

The container format of a compiled shader blob.

public enum BlobKind

Fields

D3dBytecode = 2

A bare legacy D3D9 SM1–3 token stream (version token 0xFFFF____ ps / 0xFFFE____ vs, CTAB comment, instructions, 0x0000FFFF end token) — what vkd3d-shader's D3D_BYTECODE target emits and what the FNA fx_2_0 container embeds.

Dxbc = 1

DXC's bytecode container. Note DXC emits Shader-Model-6 DXIL, not the SM ≤ 5 DXBC_TPF that MonoGame's DX11 runtime loads — the shipping DirectX path uses the vkd3d-shader backend for DXBC, not DXC.

Dxil = 3

A Shader Model 6 DXIL container — what DXC emits for the DirectX12 target (shipped in the .mgfx) and for DirectX11's reflection-only companion compile (never shipped; vkd3d produces DX11's DXBC). Added by the 2026-07-27 bug hunt (N10): these blobs were previously mislabeled Dxbc / Spirv.

Spirv = 0

A SPIR-V module (the OpenGL/Vulkan path's intermediate).