Crate rg3d_core[][src]

Re-exports

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

Modules

color
color_gradient
io
math
numeric_range
octree
pool

Pool is contiguous block of memory with fixed-size entries, each entry can be either vacant or occupied. When you put an object into pool you get handle to that object. You can use that handle later on to borrow a reference to an object. Handle can point to some object or be invalid, this may look similar to raw pointers, but there is two major differences:

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.

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

replace_slashes

Utility function that replaces back slashes \ to forward / It replaces slashes only on windows!