Remove references to the removed `custom_3d_three-d` example

This commit is contained in:
Emil Ernerfeldt 2023-05-22 17:04:58 +02:00
parent d765c610c1
commit d7dcfe4dae
2 changed files with 1 additions and 4 deletions

View File

@ -344,8 +344,7 @@ There are multiple ways to combine egui with 3D. The simplest way is to use a 3D
If you want to embed 3D into an egui view there are two options. If you want to embed 3D into an egui view there are two options.
#### `Shape::Callback` #### `Shape::Callback`
Examples: Example:
* <https://github.com/emilk/egui/blob/master/examples/custom_3d_three-d.rs>
* <https://github.com/emilk/egui/blob/master/examples/custom_3d_glow.rs> * <https://github.com/emilk/egui/blob/master/examples/custom_3d_glow.rs>
`Shape::Callback` will call your code when egui gets painted, to show anything using whatever the background rendering context is. When using [`eframe`](https://github.com/emilk/egui/tree/master/crates/eframe) this will be [`glow`](https://github.com/grovesNL/glow). Other integrations will give you other rendering contexts, if they support `Shape::Callback` at all. `Shape::Callback` will call your code when egui gets painted, to show anything using whatever the background rendering context is. When using [`eframe`](https://github.com/emilk/egui/tree/master/crates/eframe) this will be [`glow`](https://github.com/grovesNL/glow). Other integrations will give you other rendering contexts, if they support `Shape::Callback` at all.

View File

@ -2,8 +2,6 @@ This demo shows how to embed 3D rendering using [`glow`](https://github.com/grov
This is very advanced usage, and you need to be careful. This is very advanced usage, and you need to be careful.
If you want an easier way to show 3D graphics with egui, take a look at the `custom_3d_three-d.rs` example.
If you are content of having egui sit on top of a 3D background, take a look at: If you are content of having egui sit on top of a 3D background, take a look at:
* [`bevy_egui`](https://github.com/mvlabat/bevy_egui) * [`bevy_egui`](https://github.com/mvlabat/bevy_egui)