Struct ggez::ContextBuilder [] [src]

pub struct ContextBuilder { /* fields omitted */ }

A builder object for creating a context.

Can do everything the Context::load_from_conf() method does, plus you can also specify new paths to add to the resource path list at build time instead of using filesystem::mount().

Methods

impl ContextBuilder
[src]

[src]

Create a new ContextBuilder

[src]

Sets the window setup settings

[src]

Sets the window mode settings

[src]

Sets the graphics backend

[src]

Add a new read-only filesystem path to the places to search for resources.

[src]

Specifies whether or not to load the conf.toml file if it exists and use its settings to override the provided values. Defaults to true which is usually what you want, but being able to fiddle with it is sometimes useful for debugging.

[src]

Build the Context.

Trait Implementations

impl Debug for ContextBuilder
[src]

[src]

Formats the value using the given formatter. Read more

Auto Trait Implementations