Cargo Features

[dependencies]
egui-d3d11 = { version = "0.8.0", default-features = false, features = ["no-msgs", "clear", "force-compile", "save-blob", "spin-lock", "parking-lot"] }
default = parking-lot

The parking-lot feature is set by default whenever egui-d3d11 is added without default-features = false somewhere in the dependency tree.

no-msgs

Removes all message prints.

clear

Debug feature, enables clearing of the view.

force-compile

Enables force compilation of shader code

save-blob

Enables saving shader byte code into file on compile.

spin-lock

Use spinlocks

Enables spin

parking-lot default

Use parking lot

Enables parking_lot