Struct pix_engine::core::engine::PixEngineBuilder [−][src]
pub struct PixEngineBuilder { /* fields omitted */ }Expand description
Builds a PixEngine instance by providing several configration functions.
Implementations
Set a window title.
Set a True-Type Font for text rendering.
Set the temporary directory for extraction of static library assets.
Position the window at the given (x, y) coordinates of the display.
Position the window in the center of the display.
Set window dimensions.
Set audio sample rate.
Start window in fullscreen mode.
Enable VSync.
Removes the window decoration.
Enables high-DPI on displays that support it.
Starts engine with window hidden.
Enable average frame rate (FPS) in title.
Set a target frame rate to render at, controls how often on_update is called.
Convert PixEngineBuilder to a PixEngine instance.
Trait Implementations
Returns the “default value” for a type. Read more