Fix typo in wgpu::Primitive docs
This commit is contained in:
parent
0d05ea56d3
commit
6fbde6720f
1 changed files with 2 additions and 2 deletions
|
|
@ -44,9 +44,9 @@ pub trait Primitive: Debug + MaybeSend + MaybeSync + 'static {
|
||||||
|
|
||||||
/// Draws the [`Primitive`] in the given [`wgpu::RenderPass`].
|
/// Draws the [`Primitive`] in the given [`wgpu::RenderPass`].
|
||||||
///
|
///
|
||||||
/// When possible, this should be implement over [`render`](Self::render)
|
/// When possible, this should be implemented over [`render`](Self::render)
|
||||||
/// since reusing the existing render pass should be considerably more
|
/// since reusing the existing render pass should be considerably more
|
||||||
/// efficient than issuing a completely new one.
|
/// efficient than issuing a new one.
|
||||||
///
|
///
|
||||||
/// If you have complex composition needs, then you can leverage
|
/// If you have complex composition needs, then you can leverage
|
||||||
/// [`render`](Self::render) by returning `false` here.
|
/// [`render`](Self::render) by returning `false` here.
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue