Skip to content

Commit 66717b0

Browse files
Fix some typos in custom_post_processing.rs (#15539)
# Objective - Fix some typos in the `custom_post_processing.rs` example Co-authored-by: Alice Cecile <[email protected]>
1 parent 56f8e52 commit 66717b0

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

examples/shader/custom_post_processing.rs

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -263,7 +263,7 @@ impl FromWorld for PostProcessPipeline {
263263

264264
let pipeline_id = world
265265
.resource_mut::<PipelineCache>()
266-
// This will add the pipeline to the cache and queue it's creation
266+
// This will add the pipeline to the cache and queue its creation
267267
.queue_render_pipeline(RenderPipelineDescriptor {
268268
label: Some("post_process_pipeline".into()),
269269
layout: vec![layout.clone()],
@@ -282,7 +282,7 @@ impl FromWorld for PostProcessPipeline {
282282
})],
283283
}),
284284
// All of the following properties are not important for this effect so just use the default values.
285-
// This struct doesn't have the Default trait implemented because not all field can have a default value.
285+
// This struct doesn't have the Default trait implemented because not all fields can have a default value.
286286
primitive: PrimitiveState::default(),
287287
depth_stencil: None,
288288
multisample: MultisampleState::default(),
@@ -374,7 +374,7 @@ fn update_settings(mut settings: Query<&mut PostProcessSettings>, time: Res<Time
374374
intensity *= 0.015;
375375

376376
// Set the intensity.
377-
// This will then be extracted to the render world and uploaded to the gpu automatically by the [`UniformComponentPlugin`]
377+
// This will then be extracted to the render world and uploaded to the GPU automatically by the [`UniformComponentPlugin`]
378378
setting.intensity = intensity;
379379
}
380380
}

0 commit comments

Comments
 (0)