Crate three_d_asset
source · [−]Expand description
A set of common assets that are useful when doing graphics, for example TriMesh, Texture2D or PbrMaterial. These assets can be loaded using the io module or constructed manually. When in memory, the assets can be for example be
- visualised, for example using the three-d crate or in a CPU ray tracer
- imported into a rust-based game engine
- edited and saved again
Re-exports
Modules
Contain geometry asset definitions.
Contains functionality to load any type of asset runtime as well as parsers for common 3D assets. Also includes functionality to save data which is limited to native.
Contain material asset definitions.
Contain the basic types used by the 3D specific data types. Mostly basic math functionality which is an re-export of cgmath.
Contain texture asset definitions.
Contain volume asset definitions.
Structs
Model consisting of a set of geometries and materials. The geometries might have a material name that matches a name of a material in the list of materials. Also, the same material can be applied to several geometries.
Enums
Error from this crate.
Type Definitions
A result for this crate.