Skip to content

Commit

Permalink
Improve docs
Browse files Browse the repository at this point in the history
  • Loading branch information
superdump committed Sep 26, 2023
1 parent 11a1612 commit 638ece8
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions crates/bevy_render/src/batching/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -67,8 +67,8 @@ pub trait GetBatchData {
/// containing these data for all instances.
type BufferData: GpuArrayBufferable + Sync + Send + 'static;
/// Get the per-instance data to be inserted into the [`GpuArrayBuffer`].
/// Get the data used for comparison when deciding whether draws can be
/// batched.
/// If the instance can be batched, also return the data used for
/// comparison when deciding whether draws can be batched.
fn get_batch_data(
param: &SystemParamItem<Self::Param>,
query_item: &QueryItem<Self::Query>,
Expand Down

0 comments on commit 638ece8

Please sign in to comment.