1
0
mirror of https://github.com/emilk/egui.git synced 2026-09-01 22:30:03 -04:00

Improve documentation and logging

This commit is contained in:
Emil Ernerfeldt
2022-08-20 15:06:43 +02:00
parent 725aa5277b
commit 8737933101
5 changed files with 11 additions and 4 deletions

View File

@@ -29,6 +29,8 @@ impl RetainedImage {
/// Load a (non-svg) image.
///
/// `image_bytes` should be the raw contents of an image file (`.png`, `.jpg`, …).
///
/// Requires the "image" feature. You must also opt-in to the image formats you need
/// with e.g. `image = { version = "0.24", features = ["jpeg", "png"] }`.
///