Skip to main content

render_device

Function render_device 

Source
pub fn render_device(ctx: &Context) -> Option<RenderDevice>
Expand description

The render device of the GPU path installed in ctx: the device a DeviceTile must be created on, and what it can read. None without a GPU path. Read when called: set by install at once, not at the next frame.