Skip to content

Commit d50c09f

Browse files
committed
[update] documentation.
1 parent 33c882b commit d50c09f

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

  • crates/lambda-platform/src/gfx

crates/lambda-platform/src/gfx/gpu.rs

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -79,15 +79,14 @@ impl GpuBuilder {
7979
}
8080
}
8181

82-
///
8382
/// Commands oriented around creating resources on & for the GPU.
84-
///
8583
pub 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)]
9291
pub enum RenderQueueType {
9392
Compute,
@@ -98,7 +97,8 @@ pub enum RenderQueueType {
9897

9998
impl<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,

0 commit comments

Comments
 (0)