Expand description
3D/2D Game Engine.
Tutorials can be found here
Re-exports§
pub use crate::core::rand;
pub use fxhash;
pub use lazy_static;
pub use walkdir;
Modules§
- asset
- Resource management
- core
- Core data structures and algorithms used throughout Fyrox.
- dpi
- UI scaling is important, so read the docs for this module if you don’t want to be confused.
- engine
- Engine is container for all subsystems (renderer, ui, sound, resource manager). It also creates a window and an OpenGL context.
- error
- event
- The
Event
enum and assorted supporting types. - event_
loop - The
EventLoop
struct and assorted supporting types, includingControlFlow
. - generic_
animation - Animation allows you to change properties of arbitrary objects at runtime using a set of key frames.
See
Animation
docs for more info. - graph
- Graph utilities and common algorithms.
- gui
- Extendable, retained mode, graphics API agnostic UI library with lots (35+) of built-in widgets, HiDPI support, rich layout system and many more.
- keyboard
- Types related to the keyboard.
- material
- Material is a set of parameters for a shader. This module contains everything related to materials.
- monitor
- Types useful for interacting with a user’s monitors.
- platform
- Contains traits with platform-specific methods in them.
- plugin
- Everything related to plugins. See
Plugin
docs for more info. - raw_
window_ handle - Interoperability library for Rust Windowing applications.
- renderer
- Renderer is a “workhorse” of the engine, it draws scenes (both 3D and 2D), user interface, debug geometry and has an ability to add user-defined render passes. Current renderer implementation is not very flexible, but should cover 95% of use cases.
- resource
- Everything related to resources.
- scene
- Contains all structures and methods to create and manage 3D scenes.
- script
- Script is used to add custom logic to scene nodes. See ScriptTrait for more info.
- utils
- Utilities module provides set of commonly used algorithms.
- window
- The
Window
struct and associated types.
Macros§
- define_
is_ as - Defines as_(variant), as_mut_(variant) and is_(variant) methods.
- define_
with - Defines a builder’s
with_xxx
method.