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§

Modules§

  • Lightweight read-only runtime reflection.
  • A generational arena - a contiguous growable array type which allows removing from the middle without shifting and therefore without invalidating other indices.
  • 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.
  • Rectangle packer is used to pack set of smaller rectangles into one big, it used in texture atlas packer.
  • Immutable string + immutable string storage. See docs of ImmutableString and ImmutableStringStorage for more info.
  • Visitor is a tree-based serializer/deserializer.

Macros§

Structs§

Traits§

Functions§