bevy/crates/bevy_core_pipeline/src
SpecificProtagonist d92fc1e456
Move required components doc to type doc (#16575)
# Objective

Make documentation of a component's required components more visible by
moving it to the type's docs

## Solution

Change `#[require]` from a derive macro helper to an attribute macro.

Disadvantages:
- this silences any unused code warnings on the component, as it is used
by the macro!
- need to import `require` if not using the ecs prelude (I have not
included this in the migration guilde as Rust tooling already suggests
the fix)

---

## Showcase
![Documentation of
Camera](https://github.com/user-attachments/assets/3329511b-747a-4c8d-a43e-57f7c9c71a3c)

---------

Co-authored-by: Alice Cecile <alice.i.cecile@gmail.com>
Co-authored-by: JMS55 <47158642+JMS55@users.noreply.github.com>
2024-12-03 19:45:20 +00:00
..
auto_exposure Add a bindless mode to AsBindGroup. (#16368) 2024-12-03 18:00:34 +00:00
blit Expose Pipeline Compilation Zero Initialize Workgroup Memory Option (#16301) 2024-11-08 21:42:37 +00:00
bloom Expose Pipeline Compilation Zero Initialize Workgroup Memory Option (#16301) 2024-11-08 21:42:37 +00:00
contrast_adaptive_sharpening Fix CAS toggle broken by retained render world (#16533) 2024-11-27 23:38:09 +00:00
core_2d Implement WorldQuery for MainWorld and RenderWorld components (#15745) 2024-10-13 20:58:46 +00:00
core_3d Add a bindless mode to AsBindGroup. (#16368) 2024-12-03 18:00:34 +00:00
deferred Expose Pipeline Compilation Zero Initialize Workgroup Memory Option (#16301) 2024-11-08 21:42:37 +00:00
dof Don't reëxport bevy_image from bevy_render (#16163) 2024-11-10 06:54:38 +00:00
fullscreen_vertex_shader Bevy Asset V2 (#8624) 2023-09-07 02:07:27 +00:00
fxaa Don't reëxport bevy_image from bevy_render (#16163) 2024-11-10 06:54:38 +00:00
motion_blur Move required components doc to type doc (#16575) 2024-12-03 19:45:20 +00:00
oit Don't reëxport bevy_image from bevy_render (#16163) 2024-11-10 06:54:38 +00:00
post_process Don't reëxport bevy_image from bevy_render (#16163) 2024-11-10 06:54:38 +00:00
prepass Add a bindless mode to AsBindGroup. (#16368) 2024-12-03 18:00:34 +00:00
skybox Don't reëxport bevy_image from bevy_render (#16163) 2024-11-10 06:54:38 +00:00
smaa Fix missing import (#16337) 2024-11-11 18:48:41 +00:00
taa Move required components doc to type doc (#16575) 2024-12-03 19:45:20 +00:00
tonemapping Don't reëxport bevy_image from bevy_render (#16163) 2024-11-10 06:54:38 +00:00
upscaling Fix blending for CameraOutputMode::Skip (#16157) 2024-11-04 15:26:42 +00:00
lib.rs Fix oit webgl (#15728) 2024-10-08 14:50:35 +00:00
msaa_writeback.rs Simpler lint fixes: makes ci lints work but disables a lint for now (#15376) 2024-09-24 11:42:59 +00:00