Cargo Features
bevy_render has no features set by default.
[dependencies]
bevy_render = { version = "0.15.0", features = ["basis-universal", "dds", "exr", "hdr", "ktx2", "multi_threaded", "shader_format_glsl", "shader_format_spirv", "spirv_shader_passthrough", "trace", "ci_limits", "webgl", "webgpu", "detailed_trace"] }
- basis-universal
-
Texture formats (require more than just image support)
Enables basis-universal of bevy_image
- dds
-
Enables dds of bevy_image
- exr
-
Enables exr of bevy_image
- hdr
-
Enables hdr of bevy_image
- ktx2
-
Enables ktx2, ktx2 of bevy_image
- multi_threaded
-
Enables multi_threaded of bevy_tasks
- shader_format_glsl
- shader_format_spirv
-
Enables spv-in and spv-out of naga and spirv of wgpu
fragile-send-sync-non-atomic-wasm
feature means we can't use Wasm threads for rendering It is enabled for now to avoid having to do a significant overhaul of the renderer just for wasm. When the 'atomics' feature is enabledfragile-send-sync-non-atomic
does nothing and Bevy instead wrapswgpu
types to verify they are not used off their origin thread. - spirv_shader_passthrough
-
Enable SPIR-V shader passthrough
- trace = profiling
- tracing-tracy ci_limits
- webgl
- webgpu
- ios_simulator detailed_trace
Features from optional dependencies
In crates that don't use the dep:
syntax, optional dependencies automatically become Cargo features. These features may have been created by mistake, and this functionality may be removed in the future.