Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 4 additions & 1 deletion crates/bevy_image/src/image.rs
Original file line number Diff line number Diff line change
Expand Up @@ -1664,7 +1664,10 @@ impl Image {
/// so if you read it back using `get_color_at`, the `Color` you get will not equal the value
/// you used when writing it using this function.
///
/// For R and RG formats, only the respective values from the linear RGB [`Color`] will be used.
/// For RG formats, only the respective values from the linear RGB [`Color`] will be used.
///
/// For R formats the linear RGB [`Color`] will be converted to grayscale
/// and the R channel will be the luminance.
///
/// Other [`TextureFormat`]s are unsupported, such as:
/// - block-compressed formats
Expand Down