Crate rg3d[−][src]
3D Game Engine.
Re-exports
pub use crate::core::rand; |
pub use lazy_static; |
pub use futures; |
pub use rapier3d as physics; |
pub use rg3d_core as core; |
pub use rg3d_sound as sound; |
pub use rg3d_ui as gui; |
Modules
animation | |
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_loop | The |
monitor | Types useful for interacting with a user’s monitors. |
platform | Contains traits with platform-specific methods in them. |
renderer | Renderer is a “workhorse” of the engine, it draws scenes and user interface. For now there is almost no possibility to change pipeline of renderer, you can only modify quality settings. This will change in future to make renderer more flexible. |
resource | Resource module contains all structures and method to manage resources. |
scene | Contains all structures and methods to create and manage scenes. |
utils | Utilities module provides set of commonly used algorithms. |
window | The |
Structs
Context | Represents an OpenGL |
ContextBuilder | An object that allows you to build |
ContextWrapper | A context which has an underlying window, which may or may not be stored separately. |
GlAttributes | Attributes to use when creating an OpenGL |
PixelFormat | Describes a possible format. |
PixelFormatRequirements | Describes how the backend should choose a pixel format. |
PossiblyCurrent | A type that |
Rect |
Enums
Api | All APIs related to OpenGL that you can possibly get while using glutin. |
ContextError | Error that can happen when manipulating an OpenGL |
CreationError | Error that can happen while creating a window or a headless renderer. |
GlProfile | Describes the requested OpenGL |
GlRequest | Describes the OpenGL API and version that are being requested when a context is created. |
NotCurrent | A type that |
ReleaseBehavior | The behavior of the driver when you change the current context. |
Robustness | Specifies the tolerance of the OpenGL |
Statics
GL_CORE | The minimum core profile GL context. Useful for getting the minimum required GL version while still running on OSX, which often forbids the compatibility profile features. |
Traits
ContextCurrentState | A trait implemented on both |
Type Definitions
RawContext | Represents an OpenGL |
WindowedContext | Represents an OpenGL |