Cargo Features
[dependencies]
directx_math = { version = "0.2.2", default-features = false, features = ["no_sse3", "no_fma", "no_avx2", "no_neon", "no_intrinsics", "favor_intel", "specialization"] }
- no_sse3 no_intrinsics?
-
Disable specific intrinsics for testing
- no_sse4 no_avx no_f16c no_fma no_intrinsics?
- no_avx2 no_intrinsics?
- no_neon default no_intrinsics?
- no_intrinsics = no_avx, no_avx2, no_f16c, no_fma, no_neon, no_sse3, no_sse4
-
Disable all intrinsics
- favor_intel
-
Prefer intrinsics that may perform better on intel CPUs
- specialization
-
Enable specialization for trait based vector swizzle and permute.
This is a nightly-only feature and is ignored on the stable channel. - default = no_neon
-
The
no_neon
feature is set by default wheneverdirectx_math
is added without
somewhere in the dependency tree.default-features = false