Cargo Features

bevy_render has no features set by default.

[dependencies]
bevy_render = { version = "0.13.2", features = ["png", "exr", "hdr", "tga", "jpeg", "bmp", "webp", "dds", "pnm", "multi-threaded", "bevy_ci_testing", "shader_format_glsl", "shader_format_spirv", "zlib", "zstd", "trace", "tracing-tracy", "wgpu_trace", "ci_limits", "webgl", "webgpu", "ktx2", "basis-universal"] }
png

Enables png of image ^0.24

rendering

exr

Enables exr of image ^0.24

hdr

Enables hdr of image ^0.24

tga

Enables tga of image ^0.24

jpeg

Enables jpeg of image ^0.24

bmp

Enables bmp of image ^0.24

webp

Enables webp of image ^0.24

dds = ddsfile
pnm

Enables pnm of image ^0.24

multi-threaded

Enables multi-threaded of bevy_tasks

bevy_ci_testing

Enables bevy_ci_testing of bevy_app

bevy

shader_format_glsl

Enables glsl-in and wgsl-out of naga ^0.19, glsl of naga_oil

shader_format_spirv

Enables spv-in and spv-out of naga ^0.19 and spirv of wgpu ^0.19.3

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

zlib = flate2

For ktx2 supercompression

zstd = ruzstd
trace = profiling
tracing-tracy
wgpu_trace

Enables trace of wgpu ^0.19.3

ci_limits
webgl

Enables webgl of wgpu ^0.19.3

webgpu

Enables webgpu of wgpu ^0.19.3

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.

ddsfile dds?
ktx2 implicit feature

Enables ktx2

ktx2:

Parser for the ktx2 texture container format

flate2 zlib?

Enables flate2

For ktx2 supercompression

ruzstd zstd?

Enables ruzstd ^0.5.0

basis-universal implicit feature

Enables basis-universal

For transcoding of UASTC/ETC1S universal formats, and for .basis file support

Affects ktx2::get_transcoded_formats

profiling trace?

Enables profiling

For wgpu profiling using tracing. Use RUST_LOG=info to also capture the wgpu spans.