Struct three::Window [] [src]

pub struct Window {
    pub input: Input,
    pub renderer: Renderer,
    pub factory: Factory,
    pub scene: Scene,
    // some fields omitted
}

Window is the core entity of every three-rs application.

It provides user input, Factory and Renderer.

Fields

See Input.

See Renderer.

See Factory.

See Scene.

Methods

impl Window
[src]

Create new Window with specific title.

update method returns false if the window was closed.

Render the current scene with specific Camera.