File tree Expand file tree Collapse file tree
crates/lambda-platform/src/gfx Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -79,15 +79,14 @@ impl GpuBuilder {
7979 }
8080}
8181
82- ///
8382/// Commands oriented around creating resources on & for the GPU.
84- ///
8583pub struct Gpu < B : gfx_hal:: Backend > {
8684 adapter : gfx_hal:: adapter:: Adapter < B > ,
8785 gpu : gfx_hal:: adapter:: Gpu < B > ,
8886 queue_group : QueueGroup < B > ,
8987}
9088
89+ /// The render queue types that the GPU can use for
9190#[ derive( Clone , Copy , Debug , PartialEq ) ]
9291pub enum RenderQueueType {
9392 Compute ,
@@ -98,7 +97,8 @@ pub enum RenderQueueType {
9897
9998impl < RenderBackend : gfx_hal:: Backend > Gpu < RenderBackend > {
10099 /// Instantiates a new GPU given an adapter that is implemented by the GPUs
101- /// current rendering backend B. A new GPU does not come with a command pool unless specified.
100+ /// current rendering backend B. A new GPU does not come with a command pool
101+ /// unless specified.
102102 pub fn new (
103103 adapter : Adapter < RenderBackend > ,
104104 queue_family : gfx_hal:: queue:: QueueFamilyId ,
You can’t perform that action at this time.
0 commit comments