Added top level reflect_documentation feature flag. (#17892)

Fixes #17811.

---------

Co-authored-by: François Mockers <francois.mockers@vleue.com>
Co-authored-by: François Mockers <mockersf@gmail.com>
This commit is contained in:
AlephCubed 2025-02-23 13:21:50 -08:00 committed by GitHub
parent 5f86668bbb
commit 726d8ac4b0
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
3 changed files with 7 additions and 0 deletions

View File

@ -475,6 +475,9 @@ track_location = ["bevy_internal/track_location"]
# Enable function reflection
reflect_functions = ["bevy_internal/reflect_functions"]
# Enable documentation reflection
reflect_documentation = ["bevy_internal/reflect_documentation"]
# Enable winit custom cursor support
custom_cursor = ["bevy_internal/custom_cursor"]

View File

@ -266,6 +266,9 @@ reflect_functions = [
"bevy_ecs/reflect_functions",
]
# Enable documentation reflection
reflect_documentation = ["bevy_reflect/documentation"]
# Enable winit custom cursor support
custom_cursor = ["bevy_winit/custom_cursor"]

View File

@ -90,6 +90,7 @@ The default feature set enables most of the expected features of a game engine,
|pbr_transmission_textures|Enable support for transmission-related textures in the `StandardMaterial`, at the risk of blowing past the global, per-shader texture limit on older/lower-end GPUs|
|pnm|PNM image format support, includes pam, pbm, pgm and ppm|
|qoi|QOI image format support|
|reflect_documentation|Enable documentation reflection|
|reflect_functions|Enable function reflection|
|serialize|Enable serialization support through serde|
|shader_format_glsl|Enable support for shaders in GLSL|