Struct crayon::graphics::GraphicsSystem [] [src]

pub struct GraphicsSystem { /* fields omitted */ }

The centralized management of video sub-system.

Methods

impl GraphicsSystem
[src]

[src]

Create a new GraphicsSystem with one Window context.

[src]

Returns the multi-thread friendly parts of GraphicsSystem.

[src]

Swap internal commands frame.

[src]

Advance to next frame.

Notes that this method MUST be called at main thread, and will NOT return until all commands is finished by GPU.

Trait Implementations

Auto Trait Implementations