Struct lambda_platform::gfx::gpu::GpuBuilder
source · pub struct GpuBuilder { /* private fields */ }
Expand description
GpuBuilder for constructing a GPU
Implementations§
source§impl GpuBuilder
impl GpuBuilder
sourcepub fn new() -> Self
pub fn new() -> Self
Create a new GpuBuilder to configure and build a GPU to use for rendering.
sourcepub fn with_render_queue_type(self, queue_type: RenderQueueType) -> Self
pub fn with_render_queue_type(self, queue_type: RenderQueueType) -> Self
Set the type of queue to use for rendering. The GPU defaults to graphical.