Crate rg3d_core

Crate rg3d_core 

Source
Expand description

Core data structures and algorithms used throughout rg3d.

Some of them can be useful separately outside the engine.

Re-exports§

pub use arrayvec;
pub use byteorder;
pub use nalgebra as algebra;
pub use num_traits;
pub use parking_lot;
pub use rand;
pub use uuid;
pub use futures;
pub use instant;

Modules§

color
color_gradient
curve
inspect
Lightweight read-only runtime reflection.
io
math
numeric_range
octree
pool
A generational arena - a contiguous growable array type which allows removing from the middle without shifting and therefore without invalidating other indices.
profiler
Built-in scoped profiler. You must compile with feature “enable_profiler” to force profiler gather info! It is disabled by default because it is not cheap and takes 3-5% of performance for internal needs.
quadtree
rectpack
Rectangle packer is used to pack set of smaller rectangles into one big, it used in texture atlas packer.
sparse
sstorage
Immutable string + immutable string storage. See docs of ImmutableString and ImmutableStringStorage for more info.
visitor
Visitor is a tree-based serializer/deserializer.

Macros§

define_is_as
Defines as_(variant), as_mut_(variant) and is_(variant) methods.
scope_profile

Structs§

BiDirHashMap

Traits§

VecExtensions

Functions§

append_extension
Appends specified extension to the path.
hash_combine
replace_slashes
Utility function that replaces back slashes \ to forward / It replaces slashes only on windows!