pub struct RenderContextBuilder { /* private fields */ }
Expand description

A RenderContext is a localized rendering context that can be used to render to a window. It is localized to a single window at the moment.

Implementations§

Create a new localized RenderContext with the given name.

The time rendering has to complete before a timeout occurs.

Builds a RenderContext and injects it into the application window. Currently only supports building a Rendering Context utilizing the systems primary GPU.

Auto Trait Implementations§

Blanket Implementations§

Gets the TypeId of self. Read more
Immutably borrows from an owned value. Read more
Mutably borrows from an owned value. Read more

Returns the argument unchanged.

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

The type returned in the event of a conversion error.
Performs the conversion.
The type returned in the event of a conversion error.
Performs the conversion.