bevy/crates
Zhixing Zhang d9fb61d474 Wireframe Rendering Pipeline (#562)
This PR implements wireframe rendering.

Usage:

This is now ready as soon as #1401 gets merged.


Usage:

```rust
    app
        .insert_resource(WgpuOptions {
            name: Some("3d_scene"),
            features: WgpuFeatures::NON_FILL_POLYGON_MODE,
            ..Default::default()
        }) // To enable the NON_FILL_POLYGON_MODE feature
        .add_plugin(WireframePlugin)
        .run();

```

Now we just need to add the Wireframe component on an entity, and it'll draw. its wireframe.


We can also enable wireframe drawing globally by setting the global property in the `WireframeConfig` resource to `true`.



Co-authored-by: Zhixing Zhang <me@neoto.xin>
2021-03-04 01:23:24 +00:00
..
bevy_app Extend AppBuilder api with add_system_set and similar methods (#1453) 2021-02-19 11:36:34 -08:00
bevy_asset Add suffixes to diagnostics and other cleanup (#1505) 2021-03-03 03:43:15 +00:00
bevy_audio Non-string labels (#1423 continued) (#1473) 2021-02-18 13:20:37 -08:00
bevy_core Xtask CI (#1387) 2021-02-22 08:42:19 +00:00
bevy_derive Modify Derive to allow unit structs for RenderResources. (#1089) 2020-12-23 17:21:10 -06:00
bevy_diagnostic Add suffixes to diagnostics and other cleanup (#1505) 2021-03-03 03:43:15 +00:00
bevy_dylib release 0.4.0 (#1093) 2020-12-19 13:28:00 -06:00
bevy_dynamic_plugin update libloading (#1543) 2021-03-03 03:11:12 +00:00
bevy_ecs Fixed commands for coerced exclusive systems (#1531) 2021-03-03 23:36:01 +00:00
bevy_gilrs Non-string labels (#1423 continued) (#1473) 2021-02-18 13:20:37 -08:00
bevy_gltf Glb textures should use bevy_render to load images (#1454) 2021-03-03 21:36:16 +00:00
bevy_input Added Hash and Deserialize/Serialize traits to ElementState (#1447) 2021-02-22 03:59:37 +00:00
bevy_internal Subpixel text positioning (#1196) 2021-01-03 12:39:11 -08:00
bevy_log Update tracing-wasm requirement from 0.1 to 0.2 (#1539) 2021-03-03 21:01:41 +00:00
bevy_math More types (#1267) 2021-01-21 16:05:23 -08:00
bevy_pbr Non-string labels (#1423 continued) (#1473) 2021-02-18 13:20:37 -08:00
bevy_reflect Xtask CI (#1387) 2021-02-22 08:42:19 +00:00
bevy_render Wireframe Rendering Pipeline (#562) 2021-03-04 01:23:24 +00:00
bevy_scene Non-string labels (#1423 continued) (#1473) 2021-02-18 13:20:37 -08:00
bevy_sprite Add Sprite Flipping (#1407) 2021-03-03 19:26:45 +00:00
bevy_tasks Xtask CI (#1387) 2021-02-22 08:42:19 +00:00
bevy_text Add Sprite Flipping (#1407) 2021-03-03 19:26:45 +00:00
bevy_transform Moved benchmarks to a single place (#1477) 2021-02-19 22:11:00 +00:00
bevy_ui rename bevy_ui::node module so that bevy_ui::render::node isn't shadowed (#1464) 2021-02-22 04:33:33 +00:00
bevy_utils Update ahash requirement from 0.6.1 to 0.7.0 (#1370) 2021-02-01 13:29:54 -08:00
bevy_wgpu Enable wgpu device limits (#1544) 2021-03-03 21:20:46 +00:00
bevy_window Add Window Resize Constraints (#1409) 2021-03-03 02:56:50 +00:00
bevy_winit Add Window Resize Constraints (#1409) 2021-03-03 02:56:50 +00:00