Cargo Features
[dependencies]
gltf = { version = "1.4.1", default-features = false, features = ["allow_empty_texture", "extensions", "extras", "names", "utils", "import", "KHR_lights_punctual", "KHR_materials_pbrSpecularGlossiness", "KHR_materials_unlit", "KHR_texture_transform", "KHR_materials_transmission", "KHR_materials_ior", "KHR_materials_variants", "KHR_materials_volume", "KHR_materials_specular", "KHR_materials_emissive_strength", "guess_mime_type"] }
- default = import, names, utils
-
These default features are set whenever
gltf
is added without
somewhere in the dependency tree.default-features = false - allow_empty_texture
-
Enables allow_empty_texture of gltf-json
- extensions
-
Enables extensions of gltf-json
- extras
- names default
- utils default
-
Affects
accessor::util
,animation::util
,mesh::util
,skin::util
… - import default = base64, image, urlencoding
-
Affects
buffer::Data
,image::Format
,image::Data
… - KHR_lights_punctual
-
Enables KHR_lights_punctual of gltf-json
Affects
iter::Lights
,gltf::khr_lights_punctual
… - KHR_materials_pbrSpecularGlossiness
-
Enables KHR_materials_pbrSpecularGlossiness of gltf-json
Affects
material::PbrSpecularGlossiness
… - KHR_materials_unlit
-
Enables KHR_materials_unlit of gltf-json
- KHR_texture_transform
-
Enables KHR_texture_transform of gltf-json
Affects
texture::TextureTransform
… - KHR_materials_transmission
-
Enables KHR_materials_transmission of gltf-json
Affects
material::Transmission
… - KHR_materials_ior
-
Enables KHR_materials_ior of gltf-json
- KHR_materials_variants
-
Enables KHR_materials_variants of gltf-json
Affects
iter::Variants
,gltf::khr_materials_variants
,iter::Mappings
… - KHR_materials_volume
-
Enables KHR_materials_volume of gltf-json
Affects
material::Volume
… - KHR_materials_specular
-
Enables KHR_materials_specular of gltf-json
Affects
material::Specular
… - KHR_materials_emissive_strength
-
Enables KHR_materials_emissive_strength of gltf-json
- guess_mime_type
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.
- base64 import
-
Enables base64 ^0.13
- urlencoding import
- image import