File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed
crates/lambda-rs/src/render Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -91,7 +91,7 @@ impl CommandEncoder {
9191 /// * `pass` - The high-level render pass configuration.
9292 /// * `color_attachments` - Color attachment views for the pass.
9393 /// * `depth_texture` - Optional depth texture for depth/stencil operations.
94- /// * `f ` - Closure that records commands to the render pass encoder.
94+ /// * `func ` - Closure that records commands to the render pass encoder.
9595 ///
9696 /// # Type Parameters
9797 /// * `'pass` - Lifetime of resources borrowed during the render pass.
@@ -105,7 +105,7 @@ impl CommandEncoder {
105105 pass : & ' pass RenderPass ,
106106 color_attachments : & ' pass mut RenderColorAttachments < ' pass > ,
107107 depth_texture : Option < & ' pass DepthTexture > ,
108- f : PassFn ,
108+ func : PassFn ,
109109 ) -> Result < Output , RenderPassError >
110110 where
111111 PassFn :
@@ -118,7 +118,7 @@ impl CommandEncoder {
118118 depth_texture,
119119 ) ;
120120
121- return f ( & mut { pass_encoder } ) ;
121+ return func ( & mut { pass_encoder } ) ;
122122 }
123123
124124 /// Finish recording and submit the command buffer to the GPU.
You can’t perform that action at this time.
0 commit comments