Cargo Features

[dependencies]
directx-sys = { version = "0.1.0", default-features = false, features = ["d3d11_3", "dxgi1_4", "d3d11_1", "d3d11_2", "d2d", "dwrite", "d3d11", "dxgi1_2", "dxgi1_3", "dxgi"] }
default = d2d, d3d11, dwrite

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

d3d11_3 = d3d11_2

Affects enums::ConservativeRasterizationTier, structs::DrawInstancedIndirectArgs, structs::DrawIndexedInstancedIndirectArgs, structs::FeatureDataD3D11Options2, structs::FeatureDataD3D11Options3, structs::FeatureDataGPUVirtualAddressSupport

dxgi1_4 = dxgi1_3

Affects enums::CryptoSessionStatus, structs::VideoDecoderSubSampleMappingBlock, structs::VideoDecoderBufferDesc1, structs::VideoDecoderBeginFrameCryptoSession, structs::VideoProcessorStreamBehaviorHint, structs::KeyExchangeHWProtectionInputData, structs::KeyExchangeHWProtectionOutputData, structs::KeyExchangeHWProtectionData, structs::VideoSampleDesc

d3d11_1 d3d11_2? = d3d11, dxgi1_2
d3d11_2 d3d11_3? = d3d11_1, dxgi1_3
d2d default = dxgi

Affects directx-sys::d2d

dwrite default

Affects directx-sys::dwrite

d3d11 default d3d11_1? = dxgi

Affects directx-sys::d3d11

dxgi1_2 d3d11_1? dxgi1_3? = dxgi
dxgi1_3 d3d11_2? dxgi1_4? = dxgi1_2
dxgi d2d d3d11 dxgi1_2?

Affects directx-sys::dxgi