Cargo Features
[dependencies]
bsdf = { version = "0.1.1", default-features = false, features = ["ggx", "disney", "conductive", "emissive", "lambert", "mix", "rough-glass"] }
- default = conductive, disney, emissive, lambert, mix, rough-glass
-
These default features are set whenever
bsdf
is added without
somewhere in the dependency tree.default-features = false - ggx conductive disney rough-glass
-
Affects
bsdf::ggx
… - disney default = ggx
-
Affects
bsdf::disney
… - conductive default = ggx
-
Affects
bsdf::conductive
… - emissive default
-
Affects
bsdf::emissive
… - lambert default
-
Affects
bsdf::lambert
… - mix default
-
Affects
bsdf::mix
… - rough-glass default = ggx
-
Affects
bsdf::rough_glass
…