Skip to content

Commit 1ff0eac

Browse files
committed
[update] name.
1 parent 8793194 commit 1ff0eac

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

crates/lambda-rs/src/render/encoder.rs

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff 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.

0 commit comments

Comments
 (0)