Cargo Features
[dependencies]
three = { version = "0.4.0", default-features = false, features = ["opengl", "gltf"] }
- default = opengl
-
The
opengl
feature is set by default wheneverthree
is added without
somewhere in the dependency tree.default-features = false - opengl default = gfx_device_gl, gfx_window_glutin, glutin
-
Affects
three::window
…
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.
- gltf implicit feature
-
Enables gltf ^0.11.1
gltf:
glTF 2.0 loader
- gfx_device_gl opengl
-
Enables gfx_device_gl ^0.15
OpenGL
- gfx_window_glutin opengl
-
Enables gfx_window_glutin ^0.28
- glutin opengl
-
Enables glutin ^0.19