Cargo Features

[dependencies]
shroud = { version = "0.2.3", default-features = false, features = ["directx9", "directx10", "directx11", "directx12"] }
default = directx10, directx11, directx12, directx9

These default features are set whenever shroud is added without default-features = false somewhere in the dependency tree.

directx9 default

Enables Win32_Graphics_Direct3D9 of windows ^0.56.0

Affects shroud::directx9

directx10 default

Affects shroud::directx10

directx11 default

Enables Win32_Graphics_Direct3D11 of windows ^0.56.0

Affects shroud::directx11, shroud::swapchain_util

directx12 default

Enables Win32_Graphics_Direct3D12 of windows ^0.56.0

Affects shroud::directx12, shroud::swapchain_util