Struct lambda::render::RenderContextBuilder
source · pub struct RenderContextBuilder { /* private fields */ }
Implementations§
source§impl RenderContextBuilder
impl RenderContextBuilder
sourcepub fn with_render_timeout(self, render_timeout: u64) -> Self
pub fn with_render_timeout(self, render_timeout: u64) -> Self
The time rendering has to complete before timing out.
sourcepub fn build(self, window: &Window) -> RenderContext
pub fn build(self, window: &Window) -> RenderContext
Builds a RenderContext and injects it into the application window. Currently only supports building a Rendering Context utilizing the systems primary GPU.