Skip to content

armgit / raea

Public Imported from GitHub
0

Render Anything Engine: tell your AI what to make. Videos, motion graphics, 3D and games as React and TypeScript, rendered on your own GPU. Rust + Bevy, macOS, Linux and Windows.

FC0a: InlineImage (a tinted picture in a Text's line), a Text's box its own measured block, as wide as its widest line once wrapped (bevy_text's laid-out size), Outline white by default; ui/text/inline_image and ui/window_fallthrough ported

shinyobjectz0730b9cd738e
diff --git a/bench/bevy-parity/examples.list b/bench/bevy-parity/examples.list
index 0c23e2d3..e316b0aa 100644
--- a/bench/bevy-parity/examples.list
+++ b/bench/bevy-parity/examples.list
@@ -65,3 +65,5 @@ ui/images/ui_texture_slice_flip_and_tile
ui/widgets/button
ui/text/letter_spacing
ui/styling/borders
+ui/window_fallthrough
+ui/text/inline_image
diff --git a/bench/bevy-parity/runs.tsv b/bench/bevy-parity/runs.tsv
index 18a11640..7e8606e2 100644
--- a/bench/bevy-parity/runs.tsv
+++ b/bench/bevy-parity/runs.tsv
@@ -64,3 +64,5 @@ ui/images/ui_texture_atlas_slice - 10
ui/widgets/button - 10
ui/text/letter_spacing - 10
ui/styling/borders - 10
+ui/window_fallthrough - 10
+ui/text/inline_image - 10
diff --git a/docs/bevy-parity.md b/docs/bevy-parity.md
index 52abdf75..d9bb81b3 100644
--- a/docs/bevy-parity.md
+++ b/docs/bevy-parity.md
@@ -4,7 +4,7 @@ Bevy v0.20.0's examples against their raea TSX ports (docs/control.feature FC0a)
don't edit. An example passes when every probed frame passes pixels (SSIM 0.98 and no 32 px tile off by more than 24 of 255) and cost (batch keys and
frame time at most 1.25x the example's). Wall time is one machine's, measured in the same run.
-Examples: **438**, ported **65**, passing **62**, excluded **16** (docs/bevy-parity/excluded.tsv), left **360**.
+Examples: **438**, ported **67**, passing **64**, excluded **16** (docs/bevy-parity/excluded.tsv), left **358**.
raea's frame ms is its update's plus the time React takes to step a frame for its 3D (step), which the example
doesn't pay.
@@ -76,51 +76,53 @@ doesn't pay.
| 3d/mesh_ray_cast | 900 | 0.999608 | 1 | 1 / 1 | 447 / 44258 | 6 / 8 | 2 / 2 | 16.664 / 4.882 = 3.464 + 1.418 | yes | |
| 3d/lightmaps | 10 | 1.000000 | 0 | 6 / 6 | 453 / 506 | 11 / 13 | 6 / 10 | 16.538 / 1.727 = 1.5 + 0.227 | yes | |
| 3d/lightmaps | 5 | 1.000000 | 0 | 6 / 6 | 453 / 506 | 11 / 13 | 6 / 10 | 58.916 / 2.25 = 2.05 + 0.200 | yes | |
-| 2d/mesh2d | 10 | 0.999348 | 0 | 0 / 0 | 441 / 494 | 6 / 8 | 1 / 1 | 29.381 / 1.245 = 1.109 + 0.136 | yes | |
-| 2d/sprite | 10 | 0.998326 | 8 | 0 / 0 | 441 / 494 | 5 / 7 | 1 / 1 | 28.87 / 1.369 = 1.214 + 0.155 | yes | |
-| 2d/sprite_flipping | 10 | 0.998326 | 8 | 0 / 0 | 441 / 494 | 5 / 7 | 1 / 1 | 29.453 / 1.18 = 1.016 + 0.164 | yes | |
-| 2d/move_sprite | 120 | 0.998270 | 9 | 0 / 0 | 441 / 494 | 5 / 7 | 1 / 1 | 1.301 / 0.851 = 0.779 + 0.072 | yes | |
-| 2d/move_sprite | 30 | 0.998261 | 8 | 0 / 0 | 441 / 494 | 5 / 7 | 1 / 1 | 11.019 / 1.025 = 0.886 + 0.139 | yes | |
-| 2d/transparency_2d | 10 | 0.997674 | 5 | 0 / 0 | 443 / 496 | 5 / 7 | 1 / 1 | 28.586 / 1.61 = 1.437 + 0.173 | yes | |
-| 2d/sprite_sheet | 30 | 0.998820 | 5 | 0 / 0 | 441 / 494 | 5 / 7 | 1 / 1 | 12.358 / 1.161 = 1.009 + 0.152 | yes | |
-| 2d/sprite_sheet | 60 | 0.999054 | 5 | 0 / 0 | 441 / 494 | 5 / 7 | 1 / 1 | 1.684 / 0.954 = 0.846 + 0.108 | yes | |
-| 2d/sprite_animation | 12 | 0.997217 | 9 | 0 / 0 | 443 / 495 | 5 / 7 | 1 / 1 | 26.286 / 1.316 = 1.078 + 0.238 | yes | |
-| 2d/sprite_animation | 30 | 0.997017 | 8 | 0 / 0 | 443 / 495 | 5 / 7 | 1 / 1 | 1.516 / 1.182 = 1.014 + 0.168 | yes | |
-| 2d/sprite_animation | 60 | 0.997099 | 8 | 0 / 0 | 443 / 495 | 5 / 7 | 1 / 1 | 1.603 / 1.127 = 1.022 + 0.105 | yes | |
-| 2d/sprite_tile | 30 | 0.998633 | 7 | 0 / 0 | 442 / 494 | 5 / 7 | 1 / 1 | 11.517 / 1.095 = 0.869 + 0.226 | yes | |
-| 2d/sprite_tile | 300 | 0.992213 | 7 | 0 / 0 | 442 / 494 | 5 / 7 | 1 / 1 | 1.111 / 0.944 = 0.886 + 0.058 | yes | |
-| 2d/rotate_to_cursor | 10 | 0.999835 | 3 | 0 / 0 | 441 / 494 | 5 / 7 | 1 / 1 | 1.72 / 1.236 = 1.063 + 0.173 | yes | |
-| 2d/rotate_to_cursor | 5 | 0.999835 | 3 | 0 / 0 | 441 / 494 | 5 / 7 | 1 / 1 | 54.139 / 2.251 = 2.084 + 0.167 | yes | |
-| 2d/mesh2d_alpha_mode | 10 | 0.989355 | 8 | 0 / 0 | 446 / 499 | 6 / 13 | 1 / 1 | 1.826 / 1.174 = 1.038 + 0.136 | yes | |
-| 2d/mesh2d_alpha_mode | 5 | 0.989355 | 8 | 0 / 0 | 446 / 499 | 6 / 13 | 1 / 1 | 53.141 / 2.953 = 2.77 + 0.183 | yes | |
-| ui/styling/transparency_ui | 10 | 0.999700 | 3 | 0 / 0 | 445 / 492 | 5 / 7 | 1 / 1 | 1.947 / 1.235 = 1.099 + 0.136 | yes | |
-| ui/styling/transparency_ui | 5 | 0.999700 | 3 | 0 / 0 | 445 / 492 | 5 / 7 | 1 / 1 | 51.898 / 2.245 = 2.062 + 0.183 | yes | |
-| ui/layout/fixed_node | 10 | 1.000000 | 0 | 0 / 0 | 444 / 492 | 5 / 7 | 1 / 1 | 1.625 / 1.025 = 0.889 + 0.136 | yes | |
-| ui/layout/fixed_node | 5 | 1.000000 | 0 | 0 / 0 | 444 / 492 | 5 / 7 | 1 / 1 | 52.191 / 1.919 = 1.736 + 0.183 | yes | |
-| ui/images/image_node | 10 | 0.999893 | 1 | 0 / 0 | 442 / 492 | 5 / 7 | 1 / 1 | 1.803 / 1.124 = 0.997 + 0.127 | yes | |
-| ui/images/image_node | 5 | 0.999893 | 1 | 0 / 0 | 442 / 492 | 5 / 7 | 1 / 1 | 51.783 / 2.207 = 2.007 + 0.200 | yes | |
-| ui/text/font_weights | 10 | 0.990279 | 17 | 0 / 0 | 454 / 492 | 5 / 7 | 1 / 1 | 2.095 / 1.077 = 0.959 + 0.118 | yes | |
-| ui/text/font_weights | 5 | 0.990279 | 17 | 0 / 0 | 454 / 492 | 5 / 7 | 1 / 1 | 53.705 / 1.984 = 1.834 + 0.150 | yes | |
-| ui/text/font_variations | 10 | 0.992845 | 21 | 0 / 0 | 452 / 492 | 5 / 7 | 1 / 1 | 2.342 / 1.082 = 0.946 + 0.136 | yes | |
-| ui/text/font_variations | 5 | 0.992845 | 21 | 0 / 0 | 452 / 492 | 5 / 7 | 1 / 1 | 58.165 / 2.193 = 2.01 + 0.183 | yes | |
-| ui/text/text_background_colors | 10 | 0.997735 | 8 | 0 / 0 | 505 / 492 | 5 / 7 | 1 / 1 | 1.959 / 0.987 = 0.878 + 0.109 | yes | |
-| ui/text/text_background_colors | 5 | 0.997735 | 8 | 0 / 0 | 505 / 492 | 5 / 7 | 1 / 1 | 52.065 / 1.985 = 1.818 + 0.167 | yes | |
-| ui/text/strikethrough_and_underline | 10 | 0.990152 | 14 | 0 / 0 | 454 / 492 | 5 / 7 | 1 / 1 | 1.971 / 1.07 = 0.952 + 0.118 | yes | |
-| ui/text/strikethrough_and_underline | 5 | 0.990152 | 14 | 0 / 0 | 454 / 492 | 5 / 7 | 1 / 1 | 53.746 / 2.002 = 1.835 + 0.167 | yes | |
-| ui/scroll_and_overflow/overflow | 10 | 0.998143 | 5 | 0 / 0 | 461 / 492 | 5 / 7 | 1 / 1 | 1.844 / 1.185 = 1.003 + 0.182 | yes | |
-| ui/scroll_and_overflow/overflow | 5 | 0.998143 | 5 | 0 / 0 | 461 / 492 | 5 / 7 | 1 / 1 | 51.909 / 2.005 = 1.872 + 0.133 | yes | |
-| ui/images/ui_texture_atlas | 10 | 0.999601 | 7 | 0 / 0 | 445 / 492 | 5 / 7 | 1 / 1 | 1.911 / 1.062 = 0.944 + 0.118 | yes | |
-| ui/images/ui_texture_atlas | 5 | 0.999601 | 7 | 0 / 0 | 445 / 492 | 5 / 7 | 1 / 1 | 51.472 / 1.924 = 1.741 + 0.183 | yes | |
-| 2d/mesh2d_vertex_color_texture | 10 | 0.998651 | 6 | 0 / 0 | 442 / 495 | 6 / 9 | 1 / 1 | 30.479 / 1.42 = 1.293 + 0.127 | yes | |
-| 2d/mesh2d_repeated_texture | 10 | 0.991205 | 17 | 0 / 0 | 437 / 496 | 8 / 10 | 1 / 1 | 22.557 / 1.214 = 1.005 + 0.209 | yes | |
-| ui/layout/flex_layout | 10 | 0.990851 | 8 | 0 / 0 | 602 / 492 | 5 / 7 | 1 / 1 | 33.526 / 1.161 = 1.079 + 0.082 | yes | |
-| ui/scroll_and_overflow/overflow_clip_margin | 10 | 0.996801 | 9 | 0 / 0 | 465 / 492 | 5 / 7 | 1 / 1 | 29.516 / 1.211 = 1.029 + 0.182 | yes | |
-| ui/images/ui_texture_slice | 10 | 0.998957 | 8 | 0 / 0 | 447 / 492 | 5 / 7 | 1 / 1 | 28.996 / 1.018 = 0.863 + 0.155 | yes | |
-| ui/images/ui_texture_slice_flip_and_tile | 10 | 1.000000 | 0 | 0 / 0 | 461 / 492 | 5 / 7 | 1 / 1 | 30.548 / 1.22 = 1.038 + 0.182 | yes | |
-| ui/images/ui_texture_atlas_slice | 10 | 0.990791 | 17 | 0 / 0 | 447 / 492 | 5 / 7 | 1 / 1 | 31.271 / 2.003 = 1.858 + 0.145 | yes | |
-| ui/widgets/button | 10 | 0.999600 | 8 | 0 / 0 | 444 / 492 | 5 / 7 | 1 / 1 | 35.41 / 2.388 = 2.206 + 0.182 | yes | |
-| ui/text/letter_spacing | 10 | 0.995902 | 13 | 0 / 0 | 455 / 492 | 5 / 7 | 1 / 1 | 33.351 / 1.215 = 1.088 + 0.127 | yes | |
-| ui/styling/borders | 10 | 0.991738 | 9 | 0 / 0 | 591 / 492 | 5 / 7 | 1 / 1 | 30.134 / 0.944 = 0.871 + 0.073 | yes | |
+| 2d/mesh2d | 10 | 0.999348 | 0 | 0 / 0 | 441 / 494 | 6 / 8 | 1 / 1 | 29.073 / 1.298 = 1.116 + 0.182 | yes | |
+| 2d/sprite | 10 | 0.998326 | 8 | 0 / 0 | 441 / 494 | 5 / 7 | 1 / 1 | 29.001 / 1.2 = 1.064 + 0.136 | yes | |
+| 2d/sprite_flipping | 10 | 0.998326 | 8 | 0 / 0 | 441 / 494 | 5 / 7 | 1 / 1 | 28.058 / 1.226 = 1.071 + 0.155 | yes | |
+| 2d/move_sprite | 120 | 0.998270 | 9 | 0 / 0 | 441 / 494 | 5 / 7 | 1 / 1 | 1.335 / 0.79 = 0.727 + 0.063 | yes | |
+| 2d/move_sprite | 30 | 0.998261 | 8 | 0 / 0 | 441 / 494 | 5 / 7 | 1 / 1 | 10.884 / 1.084 = 0.958 + 0.126 | yes | |
+| 2d/transparency_2d | 10 | 0.997674 | 5 | 0 / 0 | 443 / 496 | 5 / 7 | 1 / 1 | 28.541 / 1.219 = 1.037 + 0.182 | yes | |
+| 2d/sprite_sheet | 30 | 0.998820 | 5 | 0 / 0 | 441 / 494 | 5 / 7 | 1 / 1 | 10.971 / 0.991 = 0.865 + 0.126 | yes | |
+| 2d/sprite_sheet | 60 | 0.999054 | 5 | 0 / 0 | 441 / 494 | 5 / 7 | 1 / 1 | 1.286 / 0.897 = 0.818 + 0.079 | yes | |
+| 2d/sprite_animation | 12 | 0.997217 | 9 | 0 / 0 | 443 / 495 | 5 / 7 | 1 / 1 | 24.292 / 1.204 = 0.981 + 0.223 | yes | |
+| 2d/sprite_animation | 30 | 0.997017 | 8 | 0 / 0 | 443 / 495 | 5 / 7 | 1 / 1 | 1.302 / 0.963 = 0.811 + 0.152 | yes | |
+| 2d/sprite_animation | 60 | 0.997099 | 8 | 0 / 0 | 443 / 495 | 5 / 7 | 1 / 1 | 1.393 / 0.923 = 0.831 + 0.092 | yes | |
+| 2d/sprite_tile | 30 | 0.998633 | 7 | 0 / 0 | 442 / 494 | 5 / 7 | 1 / 1 | 11.289 / 1.056 = 0.924 + 0.132 | yes | |
+| 2d/sprite_tile | 300 | 0.992213 | 7 | 0 / 0 | 442 / 494 | 5 / 7 | 1 / 1 | 1.126 / 0.827 = 0.775 + 0.052 | yes | |
+| 2d/rotate_to_cursor | 10 | 0.999835 | 3 | 0 / 0 | 441 / 494 | 5 / 7 | 1 / 1 | 1.87 / 1.232 = 1.087 + 0.145 | yes | |
+| 2d/rotate_to_cursor | 5 | 0.999835 | 3 | 0 / 0 | 441 / 494 | 5 / 7 | 1 / 1 | 51.799 / 2.115 = 1.948 + 0.167 | yes | |
+| 2d/mesh2d_alpha_mode | 10 | 0.989355 | 8 | 0 / 0 | 446 / 499 | 6 / 13 | 1 / 1 | 1.699 / 1.308 = 1.163 + 0.145 | yes | |
+| 2d/mesh2d_alpha_mode | 5 | 0.989355 | 8 | 0 / 0 | 446 / 499 | 6 / 13 | 1 / 1 | 51.65 / 2.155 = 1.988 + 0.167 | yes | |
+| ui/styling/transparency_ui | 10 | 0.999700 | 3 | 0 / 0 | 445 / 492 | 5 / 7 | 1 / 1 | 1.587 / 1.11 = 0.974 + 0.136 | yes | |
+| ui/styling/transparency_ui | 5 | 0.999700 | 3 | 0 / 0 | 445 / 492 | 5 / 7 | 1 / 1 | 50.512 / 1.944 = 1.794 + 0.150 | yes | |
+| ui/layout/fixed_node | 10 | 1.000000 | 0 | 0 / 0 | 444 / 492 | 5 / 7 | 1 / 1 | 1.523 / 1.102 = 0.966 + 0.136 | yes | |
+| ui/layout/fixed_node | 5 | 1.000000 | 0 | 0 / 0 | 444 / 492 | 5 / 7 | 1 / 1 | 51.087 / 1.993 = 1.81 + 0.183 | yes | |
+| ui/images/image_node | 10 | 0.999893 | 1 | 0 / 0 | 442 / 492 | 5 / 7 | 1 / 1 | 1.824 / 1.143 = 0.979 + 0.164 | yes | |
+| ui/images/image_node | 5 | 0.999893 | 1 | 0 / 0 | 442 / 492 | 5 / 7 | 1 / 1 | 51.296 / 2.113 = 1.913 + 0.200 | yes | |
+| ui/text/font_weights | 10 | 0.990279 | 17 | 0 / 0 | 454 / 492 | 5 / 7 | 1 / 1 | 1.791 / 1.232 = 1.096 + 0.136 | yes | |
+| ui/text/font_weights | 5 | 0.990279 | 17 | 0 / 0 | 454 / 492 | 5 / 7 | 1 / 1 | 54.312 / 2.314 = 2.181 + 0.133 | yes | |
+| ui/text/font_variations | 10 | 0.992845 | 21 | 0 / 0 | 452 / 492 | 5 / 7 | 1 / 1 | 1.71 / 1.181 = 1.054 + 0.127 | yes | |
+| ui/text/font_variations | 5 | 0.992845 | 21 | 0 / 0 | 452 / 492 | 5 / 7 | 1 / 1 | 52.525 / 2.005 = 1.822 + 0.183 | yes | |
+| ui/text/text_background_colors | 10 | 0.997735 | 8 | 0 / 0 | 505 / 492 | 5 / 7 | 1 / 1 | 1.852 / 1.019 = 0.901 + 0.118 | yes | |
+| ui/text/text_background_colors | 5 | 0.997735 | 8 | 0 / 0 | 505 / 492 | 5 / 7 | 1 / 1 | 50.768 / 1.964 = 1.797 + 0.167 | yes | |
+| ui/text/strikethrough_and_underline | 10 | 0.990152 | 14 | 0 / 0 | 454 / 492 | 5 / 7 | 1 / 1 | 1.98 / 1.001 = 0.883 + 0.118 | yes | |
+| ui/text/strikethrough_and_underline | 5 | 0.990152 | 14 | 0 / 0 | 454 / 492 | 5 / 7 | 1 / 1 | 52.127 / 2.136 = 1.969 + 0.167 | yes | |
+| ui/scroll_and_overflow/overflow | 10 | 0.998143 | 5 | 0 / 0 | 461 / 492 | 5 / 7 | 1 / 1 | 1.852 / 1.086 = 0.922 + 0.164 | yes | |
+| ui/scroll_and_overflow/overflow | 5 | 0.998143 | 5 | 0 / 0 | 461 / 492 | 5 / 7 | 1 / 1 | 51.846 / 2.153 = 1.986 + 0.167 | yes | |
+| ui/images/ui_texture_atlas | 10 | 0.999601 | 7 | 0 / 0 | 445 / 492 | 5 / 7 | 1 / 1 | 1.935 / 1.074 = 0.947 + 0.127 | yes | |
+| ui/images/ui_texture_atlas | 5 | 0.999601 | 7 | 0 / 0 | 445 / 492 | 5 / 7 | 1 / 1 | 51.422 / 2.017 = 1.85 + 0.167 | yes | |
+| 2d/mesh2d_vertex_color_texture | 10 | 0.998651 | 6 | 0 / 0 | 442 / 495 | 6 / 9 | 1 / 1 | 28.857 / 1.313 = 1.158 + 0.155 | yes | |
+| 2d/mesh2d_repeated_texture | 10 | 0.991205 | 17 | 0 / 0 | 437 / 496 | 8 / 10 | 1 / 1 | 21.886 / 1.188 = 0.988 + 0.200 | yes | |
+| ui/layout/flex_layout | 10 | 0.990851 | 8 | 0 / 0 | 602 / 492 | 5 / 7 | 1 / 1 | 28.896 / 1.028 = 0.955 + 0.073 | yes | |
+| ui/scroll_and_overflow/overflow_clip_margin | 10 | 0.996801 | 9 | 0 / 0 | 465 / 492 | 5 / 7 | 1 / 1 | 28.382 / 1.039 = 0.866 + 0.173 | yes | |
+| ui/images/ui_texture_slice | 10 | 0.998957 | 8 | 0 / 0 | 447 / 492 | 5 / 7 | 1 / 1 | 28.766 / 0.993 = 0.875 + 0.118 | yes | |
+| ui/images/ui_texture_slice_flip_and_tile | 10 | 1.000000 | 0 | 0 / 0 | 461 / 492 | 5 / 7 | 1 / 1 | 28.799 / 1.09 = 0.917 + 0.173 | yes | |
+| ui/images/ui_texture_atlas_slice | 10 | 0.990791 | 17 | 0 / 0 | 447 / 492 | 5 / 7 | 1 / 1 | 28.085 / 0.951 = 0.833 + 0.118 | yes | |
+| ui/widgets/button | 10 | 0.999600 | 8 | 0 / 0 | 444 / 492 | 5 / 7 | 1 / 1 | 28.223 / 1.166 = 1.011 + 0.155 | yes | |
+| ui/text/letter_spacing | 10 | 0.995902 | 13 | 0 / 0 | 455 / 492 | 5 / 7 | 1 / 1 | 28.846 / 1.019 = 0.892 + 0.127 | yes | |
+| ui/styling/borders | 10 | 0.991738 | 9 | 0 / 0 | 591 / 492 | 5 / 7 | 1 / 1 | 29.176 / 0.94 = 0.876 + 0.064 | yes | |
+| ui/window_fallthrough | 10 | 0.990127 | 16 | 0 / 0 | 441 / 492 | 5 / 7 | 1 / 1 | 27.584 / 1.046 = 0.901 + 0.145 | yes | |
+| ui/text/inline_image | 10 | 0.996682 | 11 | 0 / 0 | 446 / 492 | 5 / 7 | 1 / 1 | 29.023 / 1.006 = 0.815 + 0.191 | yes | |
## Excluded
diff --git a/docs/bevy-parity/results.jsonl b/docs/bevy-parity/results.jsonl
index ea79c301..3f9668ac 100644
--- a/docs/bevy-parity/results.jsonl
+++ b/docs/bevy-parity/results.jsonl
@@ -63,48 +63,50 @@
{"example":"3d/mesh_ray_cast","frame":900,"ssim":0.999608,"tile":1,"bevy":{"batch_keys":1,"entities":447,"extents":["0.5000 0.0000 0.5000"],"frame":900,"frame_ms":16.664,"materials":2,"mesh_entities":6,"meshes":6,"other_material":0,"visible":6},"raea":{"frame":907,"entities":44258,"mesh_entities":6,"visible":6,"meshes":8,"materials":2,"batch_keys":1,"other_material":0,"extents":["0.5000 0.0000 0.5000"],"frame_ms":3.464,"step_ms":1.418,"cost_ms":4.882},"pixels":true,"draws":true,"time":true,"pass":true,"why":""}
{"example":"3d/lightmaps","frame":10,"ssim":1.000000,"tile":0,"bevy":{"batch_keys":6,"entities":453,"extents":["0.0001 274.4000 279.6000","102.6464 82.5000 102.6464","103.2390 165.0000 103.2390","278.0000 274.4000 279.6001","3.2000 274.4000 279.6000","65.0000 0.0000 52.5000"],"frame":10,"frame_ms":16.538,"materials":6,"mesh_entities":6,"meshes":11,"other_material":0,"visible":6},"raea":{"frame":19,"entities":506,"mesh_entities":6,"visible":6,"meshes":13,"materials":10,"batch_keys":6,"other_material":0,"extents":["0.0001 274.4000 279.6000","102.6464 82.5000 102.6464","103.2390 165.0000 103.2390","278.0000 274.4000 279.6001","3.2000 274.4000 279.6000","65.0000 0.0000 52.5000"],"frame_ms":1.5,"step_ms":0.227,"cost_ms":1.727},"pixels":true,"draws":true,"time":true,"pass":true,"why":""}
{"example":"3d/lightmaps","frame":5,"ssim":1.000000,"tile":0,"bevy":{"batch_keys":6,"entities":453,"extents":["0.0001 274.4000 279.6000","102.6464 82.5000 102.6464","103.2390 165.0000 103.2390","278.0000 274.4000 279.6001","3.2000 274.4000 279.6000","65.0000 0.0000 52.5000"],"frame":5,"frame_ms":58.916,"materials":6,"mesh_entities":6,"meshes":11,"other_material":0,"visible":6},"raea":{"frame":14,"entities":506,"mesh_entities":6,"visible":6,"meshes":13,"materials":10,"batch_keys":6,"other_material":0,"extents":["0.0001 274.4000 279.6000","102.6464 82.5000 102.6464","103.2390 165.0000 103.2390","278.0000 274.4000 279.6001","3.2000 274.4000 279.6000","65.0000 0.0000 52.5000"],"frame_ms":2.05,"step_ms":0.200,"cost_ms":2.25},"pixels":true,"draws":true,"time":true,"pass":true,"why":""}
-{"example":"2d/mesh2d","frame":10,"ssim":0.999348,"tile":0,"bevy":{"batch_keys":0,"entities":441,"extents":[],"frame":10,"frame_ms":29.381,"materials":1,"mesh_entities":0,"meshes":6,"other_material":0,"visible":0},"raea":{"frame":17,"entities":494,"mesh_entities":0,"visible":0,"meshes":8,"materials":1,"batch_keys":0,"other_material":0,"extents":[],"frame_ms":1.109,"step_ms":0.136,"cost_ms":1.245},"pixels":true,"draws":true,"time":true,"pass":true,"why":""}
-{"example":"2d/sprite","frame":10,"ssim":0.998326,"tile":8,"bevy":{"batch_keys":0,"entities":441,"extents":[],"frame":10,"frame_ms":28.87,"materials":1,"mesh_entities":0,"meshes":5,"other_material":0,"visible":0},"raea":{"frame":17,"entities":494,"mesh_entities":0,"visible":0,"meshes":7,"materials":1,"batch_keys":0,"other_material":0,"extents":[],"frame_ms":1.214,"step_ms":0.155,"cost_ms":1.369},"pixels":true,"draws":true,"time":true,"pass":true,"why":""}
-{"example":"2d/sprite_flipping","frame":10,"ssim":0.998326,"tile":8,"bevy":{"batch_keys":0,"entities":441,"extents":[],"frame":10,"frame_ms":29.453,"materials":1,"mesh_entities":0,"meshes":5,"other_material":0,"visible":0},"raea":{"frame":17,"entities":494,"mesh_entities":0,"visible":0,"meshes":7,"materials":1,"batch_keys":0,"other_material":0,"extents":[],"frame_ms":1.016,"step_ms":0.164,"cost_ms":1.18},"pixels":true,"draws":true,"time":true,"pass":true,"why":""}
-{"example":"2d/move_sprite","frame":120,"ssim":0.998270,"tile":9,"bevy":{"batch_keys":0,"entities":441,"extents":[],"frame":120,"frame_ms":1.301,"materials":1,"mesh_entities":0,"meshes":5,"other_material":0,"visible":0},"raea":{"frame":127,"entities":494,"mesh_entities":0,"visible":0,"meshes":7,"materials":1,"batch_keys":0,"other_material":0,"extents":[],"frame_ms":0.779,"step_ms":0.072,"cost_ms":0.851},"pixels":true,"draws":true,"time":true,"pass":true,"why":""}
-{"example":"2d/move_sprite","frame":30,"ssim":0.998261,"tile":8,"bevy":{"batch_keys":0,"entities":441,"extents":[],"frame":30,"frame_ms":11.019,"materials":1,"mesh_entities":0,"meshes":5,"other_material":0,"visible":0},"raea":{"frame":37,"entities":494,"mesh_entities":0,"visible":0,"meshes":7,"materials":1,"batch_keys":0,"other_material":0,"extents":[],"frame_ms":0.886,"step_ms":0.139,"cost_ms":1.025},"pixels":true,"draws":true,"time":true,"pass":true,"why":""}
-{"example":"2d/transparency_2d","frame":10,"ssim":0.997674,"tile":5,"bevy":{"batch_keys":0,"entities":443,"extents":[],"frame":10,"frame_ms":28.586,"materials":1,"mesh_entities":0,"meshes":5,"other_material":0,"visible":0},"raea":{"frame":17,"entities":496,"mesh_entities":0,"visible":0,"meshes":7,"materials":1,"batch_keys":0,"other_material":0,"extents":[],"frame_ms":1.437,"step_ms":0.173,"cost_ms":1.61},"pixels":true,"draws":true,"time":true,"pass":true,"why":""}
-{"example":"2d/sprite_sheet","frame":30,"ssim":0.998820,"tile":5,"bevy":{"batch_keys":0,"entities":441,"extents":[],"frame":30,"frame_ms":12.358,"materials":1,"mesh_entities":0,"meshes":5,"other_material":0,"visible":0},"raea":{"frame":37,"entities":494,"mesh_entities":0,"visible":0,"meshes":7,"materials":1,"batch_keys":0,"other_material":0,"extents":[],"frame_ms":1.009,"step_ms":0.152,"cost_ms":1.161},"pixels":true,"draws":true,"time":true,"pass":true,"why":""}
-{"example":"2d/sprite_sheet","frame":60,"ssim":0.999054,"tile":5,"bevy":{"batch_keys":0,"entities":441,"extents":[],"frame":60,"frame_ms":1.684,"materials":1,"mesh_entities":0,"meshes":5,"other_material":0,"visible":0},"raea":{"frame":67,"entities":494,"mesh_entities":0,"visible":0,"meshes":7,"materials":1,"batch_keys":0,"other_material":0,"extents":[],"frame_ms":0.846,"step_ms":0.108,"cost_ms":0.954},"pixels":true,"draws":true,"time":true,"pass":true,"why":""}
-{"example":"2d/sprite_animation","frame":12,"ssim":0.997217,"tile":9,"bevy":{"batch_keys":0,"entities":443,"extents":[],"frame":12,"frame_ms":26.286,"materials":1,"mesh_entities":0,"meshes":5,"other_material":0,"visible":0},"raea":{"frame":19,"entities":495,"mesh_entities":0,"visible":0,"meshes":7,"materials":1,"batch_keys":0,"other_material":0,"extents":[],"frame_ms":1.078,"step_ms":0.238,"cost_ms":1.316},"pixels":true,"draws":true,"time":true,"pass":true,"why":""}
-{"example":"2d/sprite_animation","frame":30,"ssim":0.997017,"tile":8,"bevy":{"batch_keys":0,"entities":443,"extents":[],"frame":30,"frame_ms":1.516,"materials":1,"mesh_entities":0,"meshes":5,"other_material":0,"visible":0},"raea":{"frame":37,"entities":495,"mesh_entities":0,"visible":0,"meshes":7,"materials":1,"batch_keys":0,"other_material":0,"extents":[],"frame_ms":1.014,"step_ms":0.168,"cost_ms":1.182},"pixels":true,"draws":true,"time":true,"pass":true,"why":""}
-{"example":"2d/sprite_animation","frame":60,"ssim":0.997099,"tile":8,"bevy":{"batch_keys":0,"entities":443,"extents":[],"frame":60,"frame_ms":1.603,"materials":1,"mesh_entities":0,"meshes":5,"other_material":0,"visible":0},"raea":{"frame":67,"entities":495,"mesh_entities":0,"visible":0,"meshes":7,"materials":1,"batch_keys":0,"other_material":0,"extents":[],"frame_ms":1.022,"step_ms":0.105,"cost_ms":1.127},"pixels":true,"draws":true,"time":true,"pass":true,"why":""}
-{"example":"2d/sprite_tile","frame":30,"ssim":0.998633,"tile":7,"bevy":{"batch_keys":0,"entities":442,"extents":[],"frame":30,"frame_ms":11.517,"materials":1,"mesh_entities":0,"meshes":5,"other_material":0,"visible":0},"raea":{"frame":37,"entities":494,"mesh_entities":0,"visible":0,"meshes":7,"materials":1,"batch_keys":0,"other_material":0,"extents":[],"frame_ms":0.869,"step_ms":0.226,"cost_ms":1.095},"pixels":true,"draws":true,"time":true,"pass":true,"why":""}
-{"example":"2d/sprite_tile","frame":300,"ssim":0.992213,"tile":7,"bevy":{"batch_keys":0,"entities":442,"extents":[],"frame":300,"frame_ms":1.111,"materials":1,"mesh_entities":0,"meshes":5,"other_material":0,"visible":0},"raea":{"frame":307,"entities":494,"mesh_entities":0,"visible":0,"meshes":7,"materials":1,"batch_keys":0,"other_material":0,"extents":[],"frame_ms":0.886,"step_ms":0.058,"cost_ms":0.944},"pixels":true,"draws":true,"time":true,"pass":true,"why":""}
-{"example":"2d/rotate_to_cursor","frame":10,"ssim":0.999835,"tile":3,"bevy":{"batch_keys":0,"entities":441,"extents":[],"frame":10,"frame_ms":1.72,"materials":1,"mesh_entities":0,"meshes":5,"other_material":0,"visible":0},"raea":{"frame":17,"entities":494,"mesh_entities":0,"visible":0,"meshes":7,"materials":1,"batch_keys":0,"other_material":0,"extents":[],"frame_ms":1.063,"step_ms":0.173,"cost_ms":1.236},"pixels":true,"draws":true,"time":true,"pass":true,"why":""}
-{"example":"2d/rotate_to_cursor","frame":5,"ssim":0.999835,"tile":3,"bevy":{"batch_keys":0,"entities":441,"extents":[],"frame":5,"frame_ms":54.139,"materials":1,"mesh_entities":0,"meshes":5,"other_material":0,"visible":0},"raea":{"frame":12,"entities":494,"mesh_entities":0,"visible":0,"meshes":7,"materials":1,"batch_keys":0,"other_material":0,"extents":[],"frame_ms":2.084,"step_ms":0.167,"cost_ms":2.251},"pixels":true,"draws":true,"time":true,"pass":true,"why":""}
-{"example":"2d/mesh2d_alpha_mode","frame":10,"ssim":0.989355,"tile":8,"bevy":{"batch_keys":0,"entities":446,"extents":[],"frame":10,"frame_ms":1.826,"materials":1,"mesh_entities":0,"meshes":6,"other_material":0,"visible":0},"raea":{"frame":17,"entities":499,"mesh_entities":0,"visible":0,"meshes":13,"materials":1,"batch_keys":0,"other_material":0,"extents":[],"frame_ms":1.038,"step_ms":0.136,"cost_ms":1.174},"pixels":true,"draws":true,"time":true,"pass":true,"why":""}
-{"example":"2d/mesh2d_alpha_mode","frame":5,"ssim":0.989355,"tile":8,"bevy":{"batch_keys":0,"entities":446,"extents":[],"frame":5,"frame_ms":53.141,"materials":1,"mesh_entities":0,"meshes":6,"other_material":0,"visible":0},"raea":{"frame":12,"entities":499,"mesh_entities":0,"visible":0,"meshes":13,"materials":1,"batch_keys":0,"other_material":0,"extents":[],"frame_ms":2.77,"step_ms":0.183,"cost_ms":2.953},"pixels":true,"draws":true,"time":true,"pass":true,"why":""}
-{"example":"ui/styling/transparency_ui","frame":10,"ssim":0.999700,"tile":3,"bevy":{"batch_keys":0,"entities":445,"extents":[],"frame":10,"frame_ms":1.947,"materials":1,"mesh_entities":0,"meshes":5,"other_material":0,"visible":0},"raea":{"frame":17,"entities":492,"mesh_entities":0,"visible":0,"meshes":7,"materials":1,"batch_keys":0,"other_material":0,"extents":[],"frame_ms":1.099,"step_ms":0.136,"cost_ms":1.235},"pixels":true,"draws":true,"time":true,"pass":true,"why":""}
-{"example":"ui/styling/transparency_ui","frame":5,"ssim":0.999700,"tile":3,"bevy":{"batch_keys":0,"entities":445,"extents":[],"frame":5,"frame_ms":51.898,"materials":1,"mesh_entities":0,"meshes":5,"other_material":0,"visible":0},"raea":{"frame":12,"entities":492,"mesh_entities":0,"visible":0,"meshes":7,"materials":1,"batch_keys":0,"other_material":0,"extents":[],"frame_ms":2.062,"step_ms":0.183,"cost_ms":2.245},"pixels":true,"draws":true,"time":true,"pass":true,"why":""}
-{"example":"ui/layout/fixed_node","frame":10,"ssim":1.000000,"tile":0,"bevy":{"batch_keys":0,"entities":444,"extents":[],"frame":10,"frame_ms":1.625,"materials":1,"mesh_entities":0,"meshes":5,"other_material":0,"visible":0},"raea":{"frame":17,"entities":492,"mesh_entities":0,"visible":0,"meshes":7,"materials":1,"batch_keys":0,"other_material":0,"extents":[],"frame_ms":0.889,"step_ms":0.136,"cost_ms":1.025},"pixels":true,"draws":true,"time":true,"pass":true,"why":""}
-{"example":"ui/layout/fixed_node","frame":5,"ssim":1.000000,"tile":0,"bevy":{"batch_keys":0,"entities":444,"extents":[],"frame":5,"frame_ms":52.191,"materials":1,"mesh_entities":0,"meshes":5,"other_material":0,"visible":0},"raea":{"frame":12,"entities":492,"mesh_entities":0,"visible":0,"meshes":7,"materials":1,"batch_keys":0,"other_material":0,"extents":[],"frame_ms":1.736,"step_ms":0.183,"cost_ms":1.919},"pixels":true,"draws":true,"time":true,"pass":true,"why":""}
-{"example":"ui/images/image_node","frame":10,"ssim":0.999893,"tile":1,"bevy":{"batch_keys":0,"entities":442,"extents":[],"frame":10,"frame_ms":1.803,"materials":1,"mesh_entities":0,"meshes":5,"other_material":0,"visible":0},"raea":{"frame":17,"entities":492,"mesh_entities":0,"visible":0,"meshes":7,"materials":1,"batch_keys":0,"other_material":0,"extents":[],"frame_ms":0.997,"step_ms":0.127,"cost_ms":1.124},"pixels":true,"draws":true,"time":true,"pass":true,"why":""}
-{"example":"ui/images/image_node","frame":5,"ssim":0.999893,"tile":1,"bevy":{"batch_keys":0,"entities":442,"extents":[],"frame":5,"frame_ms":51.783,"materials":1,"mesh_entities":0,"meshes":5,"other_material":0,"visible":0},"raea":{"frame":12,"entities":492,"mesh_entities":0,"visible":0,"meshes":7,"materials":1,"batch_keys":0,"other_material":0,"extents":[],"frame_ms":2.007,"step_ms":0.200,"cost_ms":2.207},"pixels":true,"draws":true,"time":true,"pass":true,"why":""}
-{"example":"ui/text/font_weights","frame":10,"ssim":0.990279,"tile":17,"bevy":{"batch_keys":0,"entities":454,"extents":[],"frame":10,"frame_ms":2.095,"materials":1,"mesh_entities":0,"meshes":5,"other_material":0,"visible":0},"raea":{"frame":17,"entities":492,"mesh_entities":0,"visible":0,"meshes":7,"materials":1,"batch_keys":0,"other_material":0,"extents":[],"frame_ms":0.959,"step_ms":0.118,"cost_ms":1.077},"pixels":true,"draws":true,"time":true,"pass":true,"why":""}
-{"example":"ui/text/font_weights","frame":5,"ssim":0.990279,"tile":17,"bevy":{"batch_keys":0,"entities":454,"extents":[],"frame":5,"frame_ms":53.705,"materials":1,"mesh_entities":0,"meshes":5,"other_material":0,"visible":0},"raea":{"frame":12,"entities":492,"mesh_entities":0,"visible":0,"meshes":7,"materials":1,"batch_keys":0,"other_material":0,"extents":[],"frame_ms":1.834,"step_ms":0.150,"cost_ms":1.984},"pixels":true,"draws":true,"time":true,"pass":true,"why":""}
-{"example":"ui/text/font_variations","frame":10,"ssim":0.992845,"tile":21,"bevy":{"batch_keys":0,"entities":452,"extents":[],"frame":10,"frame_ms":2.342,"materials":1,"mesh_entities":0,"meshes":5,"other_material":0,"visible":0},"raea":{"frame":17,"entities":492,"mesh_entities":0,"visible":0,"meshes":7,"materials":1,"batch_keys":0,"other_material":0,"extents":[],"frame_ms":0.946,"step_ms":0.136,"cost_ms":1.082},"pixels":true,"draws":true,"time":true,"pass":true,"why":""}
-{"example":"ui/text/font_variations","frame":5,"ssim":0.992845,"tile":21,"bevy":{"batch_keys":0,"entities":452,"extents":[],"frame":5,"frame_ms":58.165,"materials":1,"mesh_entities":0,"meshes":5,"other_material":0,"visible":0},"raea":{"frame":12,"entities":492,"mesh_entities":0,"visible":0,"meshes":7,"materials":1,"batch_keys":0,"other_material":0,"extents":[],"frame_ms":2.01,"step_ms":0.183,"cost_ms":2.193},"pixels":true,"draws":true,"time":true,"pass":true,"why":""}
-{"example":"ui/text/text_background_colors","frame":10,"ssim":0.997735,"tile":8,"bevy":{"batch_keys":0,"entities":505,"extents":[],"frame":10,"frame_ms":1.959,"materials":1,"mesh_entities":0,"meshes":5,"other_material":0,"visible":0},"raea":{"frame":17,"entities":492,"mesh_entities":0,"visible":0,"meshes":7,"materials":1,"batch_keys":0,"other_material":0,"extents":[],"frame_ms":0.878,"step_ms":0.109,"cost_ms":0.987},"pixels":true,"draws":true,"time":true,"pass":true,"why":""}
-{"example":"ui/text/text_background_colors","frame":5,"ssim":0.997735,"tile":8,"bevy":{"batch_keys":0,"entities":505,"extents":[],"frame":5,"frame_ms":52.065,"materials":1,"mesh_entities":0,"meshes":5,"other_material":0,"visible":0},"raea":{"frame":12,"entities":492,"mesh_entities":0,"visible":0,"meshes":7,"materials":1,"batch_keys":0,"other_material":0,"extents":[],"frame_ms":1.818,"step_ms":0.167,"cost_ms":1.985},"pixels":true,"draws":true,"time":true,"pass":true,"why":""}
-{"example":"ui/text/strikethrough_and_underline","frame":10,"ssim":0.990152,"tile":14,"bevy":{"batch_keys":0,"entities":454,"extents":[],"frame":10,"frame_ms":1.971,"materials":1,"mesh_entities":0,"meshes":5,"other_material":0,"visible":0},"raea":{"frame":17,"entities":492,"mesh_entities":0,"visible":0,"meshes":7,"materials":1,"batch_keys":0,"other_material":0,"extents":[],"frame_ms":0.952,"step_ms":0.118,"cost_ms":1.07},"pixels":true,"draws":true,"time":true,"pass":true,"why":""}
-{"example":"ui/text/strikethrough_and_underline","frame":5,"ssim":0.990152,"tile":14,"bevy":{"batch_keys":0,"entities":454,"extents":[],"frame":5,"frame_ms":53.746,"materials":1,"mesh_entities":0,"meshes":5,"other_material":0,"visible":0},"raea":{"frame":12,"entities":492,"mesh_entities":0,"visible":0,"meshes":7,"materials":1,"batch_keys":0,"other_material":0,"extents":[],"frame_ms":1.835,"step_ms":0.167,"cost_ms":2.002},"pixels":true,"draws":true,"time":true,"pass":true,"why":""}
-{"example":"ui/scroll_and_overflow/overflow","frame":10,"ssim":0.998143,"tile":5,"bevy":{"batch_keys":0,"entities":461,"extents":[],"frame":10,"frame_ms":1.844,"materials":1,"mesh_entities":0,"meshes":5,"other_material":0,"visible":0},"raea":{"frame":17,"entities":492,"mesh_entities":0,"visible":0,"meshes":7,"materials":1,"batch_keys":0,"other_material":0,"extents":[],"frame_ms":1.003,"step_ms":0.182,"cost_ms":1.185},"pixels":true,"draws":true,"time":true,"pass":true,"why":""}
-{"example":"ui/scroll_and_overflow/overflow","frame":5,"ssim":0.998143,"tile":5,"bevy":{"batch_keys":0,"entities":461,"extents":[],"frame":5,"frame_ms":51.909,"materials":1,"mesh_entities":0,"meshes":5,"other_material":0,"visible":0},"raea":{"frame":12,"entities":492,"mesh_entities":0,"visible":0,"meshes":7,"materials":1,"batch_keys":0,"other_material":0,"extents":[],"frame_ms":1.872,"step_ms":0.133,"cost_ms":2.005},"pixels":true,"draws":true,"time":true,"pass":true,"why":""}
-{"example":"ui/images/ui_texture_atlas","frame":10,"ssim":0.999601,"tile":7,"bevy":{"batch_keys":0,"entities":445,"extents":[],"frame":10,"frame_ms":1.911,"materials":1,"mesh_entities":0,"meshes":5,"other_material":0,"visible":0},"raea":{"frame":17,"entities":492,"mesh_entities":0,"visible":0,"meshes":7,"materials":1,"batch_keys":0,"other_material":0,"extents":[],"frame_ms":0.944,"step_ms":0.118,"cost_ms":1.062},"pixels":true,"draws":true,"time":true,"pass":true,"why":""}
-{"example":"ui/images/ui_texture_atlas","frame":5,"ssim":0.999601,"tile":7,"bevy":{"batch_keys":0,"entities":445,"extents":[],"frame":5,"frame_ms":51.472,"materials":1,"mesh_entities":0,"meshes":5,"other_material":0,"visible":0},"raea":{"frame":12,"entities":492,"mesh_entities":0,"visible":0,"meshes":7,"materials":1,"batch_keys":0,"other_material":0,"extents":[],"frame_ms":1.741,"step_ms":0.183,"cost_ms":1.924},"pixels":true,"draws":true,"time":true,"pass":true,"why":""}
-{"example":"2d/mesh2d_vertex_color_texture","frame":10,"ssim":0.998651,"tile":6,"bevy":{"batch_keys":0,"entities":442,"extents":[],"frame":10,"frame_ms":30.479,"materials":1,"mesh_entities":0,"meshes":6,"other_material":0,"visible":0},"raea":{"frame":17,"entities":495,"mesh_entities":0,"visible":0,"meshes":9,"materials":1,"batch_keys":0,"other_material":0,"extents":[],"frame_ms":1.293,"step_ms":0.127,"cost_ms":1.42},"pixels":true,"draws":true,"time":true,"pass":true,"why":""}
-{"example":"2d/mesh2d_repeated_texture","frame":10,"ssim":0.991205,"tile":17,"bevy":{"batch_keys":0,"entities":437,"extents":[],"frame":10,"frame_ms":22.557,"materials":1,"mesh_entities":0,"meshes":8,"other_material":0,"visible":0},"raea":{"frame":17,"entities":496,"mesh_entities":0,"visible":0,"meshes":10,"materials":1,"batch_keys":0,"other_material":0,"extents":[],"frame_ms":1.005,"step_ms":0.209,"cost_ms":1.214},"pixels":true,"draws":true,"time":true,"pass":true,"why":""}
-{"example":"ui/layout/flex_layout","frame":10,"ssim":0.990851,"tile":8,"bevy":{"batch_keys":0,"entities":602,"extents":[],"frame":10,"frame_ms":33.526,"materials":1,"mesh_entities":0,"meshes":5,"other_material":0,"visible":0},"raea":{"frame":17,"entities":492,"mesh_entities":0,"visible":0,"meshes":7,"materials":1,"batch_keys":0,"other_material":0,"extents":[],"frame_ms":1.079,"step_ms":0.082,"cost_ms":1.161},"pixels":true,"draws":true,"time":true,"pass":true,"why":""}
-{"example":"ui/scroll_and_overflow/overflow_clip_margin","frame":10,"ssim":0.996801,"tile":9,"bevy":{"batch_keys":0,"entities":465,"extents":[],"frame":10,"frame_ms":29.516,"materials":1,"mesh_entities":0,"meshes":5,"other_material":0,"visible":0},"raea":{"frame":17,"entities":492,"mesh_entities":0,"visible":0,"meshes":7,"materials":1,"batch_keys":0,"other_material":0,"extents":[],"frame_ms":1.029,"step_ms":0.182,"cost_ms":1.211},"pixels":true,"draws":true,"time":true,"pass":true,"why":""}
-{"example":"ui/images/ui_texture_slice","frame":10,"ssim":0.998957,"tile":8,"bevy":{"batch_keys":0,"entities":447,"extents":[],"frame":10,"frame_ms":28.996,"materials":1,"mesh_entities":0,"meshes":5,"other_material":0,"visible":0},"raea":{"frame":17,"entities":492,"mesh_entities":0,"visible":0,"meshes":7,"materials":1,"batch_keys":0,"other_material":0,"extents":[],"frame_ms":0.863,"step_ms":0.155,"cost_ms":1.018},"pixels":true,"draws":true,"time":true,"pass":true,"why":""}
-{"example":"ui/images/ui_texture_slice_flip_and_tile","frame":10,"ssim":1.000000,"tile":0,"bevy":{"batch_keys":0,"entities":461,"extents":[],"frame":10,"frame_ms":30.548,"materials":1,"mesh_entities":0,"meshes":5,"other_material":0,"visible":0},"raea":{"frame":17,"entities":492,"mesh_entities":0,"visible":0,"meshes":7,"materials":1,"batch_keys":0,"other_material":0,"extents":[],"frame_ms":1.038,"step_ms":0.182,"cost_ms":1.22},"pixels":true,"draws":true,"time":true,"pass":true,"why":""}
-{"example":"ui/images/ui_texture_atlas_slice","frame":10,"ssim":0.990791,"tile":17,"bevy":{"batch_keys":0,"entities":447,"extents":[],"frame":10,"frame_ms":31.271,"materials":1,"mesh_entities":0,"meshes":5,"other_material":0,"visible":0},"raea":{"frame":17,"entities":492,"mesh_entities":0,"visible":0,"meshes":7,"materials":1,"batch_keys":0,"other_material":0,"extents":[],"frame_ms":1.858,"step_ms":0.145,"cost_ms":2.003},"pixels":true,"draws":true,"time":true,"pass":true,"why":""}
-{"example":"ui/widgets/button","frame":10,"ssim":0.999600,"tile":8,"bevy":{"batch_keys":0,"entities":444,"extents":[],"frame":10,"frame_ms":35.41,"materials":1,"mesh_entities":0,"meshes":5,"other_material":0,"visible":0},"raea":{"frame":17,"entities":492,"mesh_entities":0,"visible":0,"meshes":7,"materials":1,"batch_keys":0,"other_material":0,"extents":[],"frame_ms":2.206,"step_ms":0.182,"cost_ms":2.388},"pixels":true,"draws":true,"time":true,"pass":true,"why":""}
-{"example":"ui/text/letter_spacing","frame":10,"ssim":0.995902,"tile":13,"bevy":{"batch_keys":0,"entities":455,"extents":[],"frame":10,"frame_ms":33.351,"materials":1,"mesh_entities":0,"meshes":5,"other_material":0,"visible":0},"raea":{"frame":17,"entities":492,"mesh_entities":0,"visible":0,"meshes":7,"materials":1,"batch_keys":0,"other_material":0,"extents":[],"frame_ms":1.088,"step_ms":0.127,"cost_ms":1.215},"pixels":true,"draws":true,"time":true,"pass":true,"why":""}
-{"example":"ui/styling/borders","frame":10,"ssim":0.991738,"tile":9,"bevy":{"batch_keys":0,"entities":591,"extents":[],"frame":10,"frame_ms":30.134,"materials":1,"mesh_entities":0,"meshes":5,"other_material":0,"visible":0},"raea":{"frame":17,"entities":492,"mesh_entities":0,"visible":0,"meshes":7,"materials":1,"batch_keys":0,"other_material":0,"extents":[],"frame_ms":0.871,"step_ms":0.073,"cost_ms":0.944},"pixels":true,"draws":true,"time":true,"pass":true,"why":""}
+{"example":"2d/mesh2d","frame":10,"ssim":0.999348,"tile":0,"bevy":{"batch_keys":0,"entities":441,"extents":[],"frame":10,"frame_ms":29.073,"materials":1,"mesh_entities":0,"meshes":6,"other_material":0,"visible":0},"raea":{"frame":17,"entities":494,"mesh_entities":0,"visible":0,"meshes":8,"materials":1,"batch_keys":0,"other_material":0,"extents":[],"frame_ms":1.116,"step_ms":0.182,"cost_ms":1.298},"pixels":true,"draws":true,"time":true,"pass":true,"why":""}
+{"example":"2d/sprite","frame":10,"ssim":0.998326,"tile":8,"bevy":{"batch_keys":0,"entities":441,"extents":[],"frame":10,"frame_ms":29.001,"materials":1,"mesh_entities":0,"meshes":5,"other_material":0,"visible":0},"raea":{"frame":17,"entities":494,"mesh_entities":0,"visible":0,"meshes":7,"materials":1,"batch_keys":0,"other_material":0,"extents":[],"frame_ms":1.064,"step_ms":0.136,"cost_ms":1.2},"pixels":true,"draws":true,"time":true,"pass":true,"why":""}
+{"example":"2d/sprite_flipping","frame":10,"ssim":0.998326,"tile":8,"bevy":{"batch_keys":0,"entities":441,"extents":[],"frame":10,"frame_ms":28.058,"materials":1,"mesh_entities":0,"meshes":5,"other_material":0,"visible":0},"raea":{"frame":17,"entities":494,"mesh_entities":0,"visible":0,"meshes":7,"materials":1,"batch_keys":0,"other_material":0,"extents":[],"frame_ms":1.071,"step_ms":0.155,"cost_ms":1.226},"pixels":true,"draws":true,"time":true,"pass":true,"why":""}
+{"example":"2d/move_sprite","frame":120,"ssim":0.998270,"tile":9,"bevy":{"batch_keys":0,"entities":441,"extents":[],"frame":120,"frame_ms":1.335,"materials":1,"mesh_entities":0,"meshes":5,"other_material":0,"visible":0},"raea":{"frame":127,"entities":494,"mesh_entities":0,"visible":0,"meshes":7,"materials":1,"batch_keys":0,"other_material":0,"extents":[],"frame_ms":0.727,"step_ms":0.063,"cost_ms":0.79},"pixels":true,"draws":true,"time":true,"pass":true,"why":""}
+{"example":"2d/move_sprite","frame":30,"ssim":0.998261,"tile":8,"bevy":{"batch_keys":0,"entities":441,"extents":[],"frame":30,"frame_ms":10.884,"materials":1,"mesh_entities":0,"meshes":5,"other_material":0,"visible":0},"raea":{"frame":37,"entities":494,"mesh_entities":0,"visible":0,"meshes":7,"materials":1,"batch_keys":0,"other_material":0,"extents":[],"frame_ms":0.958,"step_ms":0.126,"cost_ms":1.084},"pixels":true,"draws":true,"time":true,"pass":true,"why":""}
+{"example":"2d/transparency_2d","frame":10,"ssim":0.997674,"tile":5,"bevy":{"batch_keys":0,"entities":443,"extents":[],"frame":10,"frame_ms":28.541,"materials":1,"mesh_entities":0,"meshes":5,"other_material":0,"visible":0},"raea":{"frame":17,"entities":496,"mesh_entities":0,"visible":0,"meshes":7,"materials":1,"batch_keys":0,"other_material":0,"extents":[],"frame_ms":1.037,"step_ms":0.182,"cost_ms":1.219},"pixels":true,"draws":true,"time":true,"pass":true,"why":""}
+{"example":"2d/sprite_sheet","frame":30,"ssim":0.998820,"tile":5,"bevy":{"batch_keys":0,"entities":441,"extents":[],"frame":30,"frame_ms":10.971,"materials":1,"mesh_entities":0,"meshes":5,"other_material":0,"visible":0},"raea":{"frame":37,"entities":494,"mesh_entities":0,"visible":0,"meshes":7,"materials":1,"batch_keys":0,"other_material":0,"extents":[],"frame_ms":0.865,"step_ms":0.126,"cost_ms":0.991},"pixels":true,"draws":true,"time":true,"pass":true,"why":""}
+{"example":"2d/sprite_sheet","frame":60,"ssim":0.999054,"tile":5,"bevy":{"batch_keys":0,"entities":441,"extents":[],"frame":60,"frame_ms":1.286,"materials":1,"mesh_entities":0,"meshes":5,"other_material":0,"visible":0},"raea":{"frame":67,"entities":494,"mesh_entities":0,"visible":0,"meshes":7,"materials":1,"batch_keys":0,"other_material":0,"extents":[],"frame_ms":0.818,"step_ms":0.079,"cost_ms":0.897},"pixels":true,"draws":true,"time":true,"pass":true,"why":""}
+{"example":"2d/sprite_animation","frame":12,"ssim":0.997217,"tile":9,"bevy":{"batch_keys":0,"entities":443,"extents":[],"frame":12,"frame_ms":24.292,"materials":1,"mesh_entities":0,"meshes":5,"other_material":0,"visible":0},"raea":{"frame":19,"entities":495,"mesh_entities":0,"visible":0,"meshes":7,"materials":1,"batch_keys":0,"other_material":0,"extents":[],"frame_ms":0.981,"step_ms":0.223,"cost_ms":1.204},"pixels":true,"draws":true,"time":true,"pass":true,"why":""}
+{"example":"2d/sprite_animation","frame":30,"ssim":0.997017,"tile":8,"bevy":{"batch_keys":0,"entities":443,"extents":[],"frame":30,"frame_ms":1.302,"materials":1,"mesh_entities":0,"meshes":5,"other_material":0,"visible":0},"raea":{"frame":37,"entities":495,"mesh_entities":0,"visible":0,"meshes":7,"materials":1,"batch_keys":0,"other_material":0,"extents":[],"frame_ms":0.811,"step_ms":0.152,"cost_ms":0.963},"pixels":true,"draws":true,"time":true,"pass":true,"why":""}
+{"example":"2d/sprite_animation","frame":60,"ssim":0.997099,"tile":8,"bevy":{"batch_keys":0,"entities":443,"extents":[],"frame":60,"frame_ms":1.393,"materials":1,"mesh_entities":0,"meshes":5,"other_material":0,"visible":0},"raea":{"frame":67,"entities":495,"mesh_entities":0,"visible":0,"meshes":7,"materials":1,"batch_keys":0,"other_material":0,"extents":[],"frame_ms":0.831,"step_ms":0.092,"cost_ms":0.923},"pixels":true,"draws":true,"time":true,"pass":true,"why":""}
+{"example":"2d/sprite_tile","frame":30,"ssim":0.998633,"tile":7,"bevy":{"batch_keys":0,"entities":442,"extents":[],"frame":30,"frame_ms":11.289,"materials":1,"mesh_entities":0,"meshes":5,"other_material":0,"visible":0},"raea":{"frame":37,"entities":494,"mesh_entities":0,"visible":0,"meshes":7,"materials":1,"batch_keys":0,"other_material":0,"extents":[],"frame_ms":0.924,"step_ms":0.132,"cost_ms":1.056},"pixels":true,"draws":true,"time":true,"pass":true,"why":""}
+{"example":"2d/sprite_tile","frame":300,"ssim":0.992213,"tile":7,"bevy":{"batch_keys":0,"entities":442,"extents":[],"frame":300,"frame_ms":1.126,"materials":1,"mesh_entities":0,"meshes":5,"other_material":0,"visible":0},"raea":{"frame":307,"entities":494,"mesh_entities":0,"visible":0,"meshes":7,"materials":1,"batch_keys":0,"other_material":0,"extents":[],"frame_ms":0.775,"step_ms":0.052,"cost_ms":0.827},"pixels":true,"draws":true,"time":true,"pass":true,"why":""}
+{"example":"2d/rotate_to_cursor","frame":10,"ssim":0.999835,"tile":3,"bevy":{"batch_keys":0,"entities":441,"extents":[],"frame":10,"frame_ms":1.87,"materials":1,"mesh_entities":0,"meshes":5,"other_material":0,"visible":0},"raea":{"frame":17,"entities":494,"mesh_entities":0,"visible":0,"meshes":7,"materials":1,"batch_keys":0,"other_material":0,"extents":[],"frame_ms":1.087,"step_ms":0.145,"cost_ms":1.232},"pixels":true,"draws":true,"time":true,"pass":true,"why":""}
+{"example":"2d/rotate_to_cursor","frame":5,"ssim":0.999835,"tile":3,"bevy":{"batch_keys":0,"entities":441,"extents":[],"frame":5,"frame_ms":51.799,"materials":1,"mesh_entities":0,"meshes":5,"other_material":0,"visible":0},"raea":{"frame":12,"entities":494,"mesh_entities":0,"visible":0,"meshes":7,"materials":1,"batch_keys":0,"other_material":0,"extents":[],"frame_ms":1.948,"step_ms":0.167,"cost_ms":2.115},"pixels":true,"draws":true,"time":true,"pass":true,"why":""}
+{"example":"2d/mesh2d_alpha_mode","frame":10,"ssim":0.989355,"tile":8,"bevy":{"batch_keys":0,"entities":446,"extents":[],"frame":10,"frame_ms":1.699,"materials":1,"mesh_entities":0,"meshes":6,"other_material":0,"visible":0},"raea":{"frame":17,"entities":499,"mesh_entities":0,"visible":0,"meshes":13,"materials":1,"batch_keys":0,"other_material":0,"extents":[],"frame_ms":1.163,"step_ms":0.145,"cost_ms":1.308},"pixels":true,"draws":true,"time":true,"pass":true,"why":""}
+{"example":"2d/mesh2d_alpha_mode","frame":5,"ssim":0.989355,"tile":8,"bevy":{"batch_keys":0,"entities":446,"extents":[],"frame":5,"frame_ms":51.65,"materials":1,"mesh_entities":0,"meshes":6,"other_material":0,"visible":0},"raea":{"frame":12,"entities":499,"mesh_entities":0,"visible":0,"meshes":13,"materials":1,"batch_keys":0,"other_material":0,"extents":[],"frame_ms":1.988,"step_ms":0.167,"cost_ms":2.155},"pixels":true,"draws":true,"time":true,"pass":true,"why":""}
+{"example":"ui/styling/transparency_ui","frame":10,"ssim":0.999700,"tile":3,"bevy":{"batch_keys":0,"entities":445,"extents":[],"frame":10,"frame_ms":1.587,"materials":1,"mesh_entities":0,"meshes":5,"other_material":0,"visible":0},"raea":{"frame":17,"entities":492,"mesh_entities":0,"visible":0,"meshes":7,"materials":1,"batch_keys":0,"other_material":0,"extents":[],"frame_ms":0.974,"step_ms":0.136,"cost_ms":1.11},"pixels":true,"draws":true,"time":true,"pass":true,"why":""}
+{"example":"ui/styling/transparency_ui","frame":5,"ssim":0.999700,"tile":3,"bevy":{"batch_keys":0,"entities":445,"extents":[],"frame":5,"frame_ms":50.512,"materials":1,"mesh_entities":0,"meshes":5,"other_material":0,"visible":0},"raea":{"frame":12,"entities":492,"mesh_entities":0,"visible":0,"meshes":7,"materials":1,"batch_keys":0,"other_material":0,"extents":[],"frame_ms":1.794,"step_ms":0.150,"cost_ms":1.944},"pixels":true,"draws":true,"time":true,"pass":true,"why":""}
+{"example":"ui/layout/fixed_node","frame":10,"ssim":1.000000,"tile":0,"bevy":{"batch_keys":0,"entities":444,"extents":[],"frame":10,"frame_ms":1.523,"materials":1,"mesh_entities":0,"meshes":5,"other_material":0,"visible":0},"raea":{"frame":17,"entities":492,"mesh_entities":0,"visible":0,"meshes":7,"materials":1,"batch_keys":0,"other_material":0,"extents":[],"frame_ms":0.966,"step_ms":0.136,"cost_ms":1.102},"pixels":true,"draws":true,"time":true,"pass":true,"why":""}
+{"example":"ui/layout/fixed_node","frame":5,"ssim":1.000000,"tile":0,"bevy":{"batch_keys":0,"entities":444,"extents":[],"frame":5,"frame_ms":51.087,"materials":1,"mesh_entities":0,"meshes":5,"other_material":0,"visible":0},"raea":{"frame":12,"entities":492,"mesh_entities":0,"visible":0,"meshes":7,"materials":1,"batch_keys":0,"other_material":0,"extents":[],"frame_ms":1.81,"step_ms":0.183,"cost_ms":1.993},"pixels":true,"draws":true,"time":true,"pass":true,"why":""}
+{"example":"ui/images/image_node","frame":10,"ssim":0.999893,"tile":1,"bevy":{"batch_keys":0,"entities":442,"extents":[],"frame":10,"frame_ms":1.824,"materials":1,"mesh_entities":0,"meshes":5,"other_material":0,"visible":0},"raea":{"frame":17,"entities":492,"mesh_entities":0,"visible":0,"meshes":7,"materials":1,"batch_keys":0,"other_material":0,"extents":[],"frame_ms":0.979,"step_ms":0.164,"cost_ms":1.143},"pixels":true,"draws":true,"time":true,"pass":true,"why":""}
+{"example":"ui/images/image_node","frame":5,"ssim":0.999893,"tile":1,"bevy":{"batch_keys":0,"entities":442,"extents":[],"frame":5,"frame_ms":51.296,"materials":1,"mesh_entities":0,"meshes":5,"other_material":0,"visible":0},"raea":{"frame":12,"entities":492,"mesh_entities":0,"visible":0,"meshes":7,"materials":1,"batch_keys":0,"other_material":0,"extents":[],"frame_ms":1.913,"step_ms":0.200,"cost_ms":2.113},"pixels":true,"draws":true,"time":true,"pass":true,"why":""}
+{"example":"ui/text/font_weights","frame":10,"ssim":0.990279,"tile":17,"bevy":{"batch_keys":0,"entities":454,"extents":[],"frame":10,"frame_ms":1.791,"materials":1,"mesh_entities":0,"meshes":5,"other_material":0,"visible":0},"raea":{"frame":17,"entities":492,"mesh_entities":0,"visible":0,"meshes":7,"materials":1,"batch_keys":0,"other_material":0,"extents":[],"frame_ms":1.096,"step_ms":0.136,"cost_ms":1.232},"pixels":true,"draws":true,"time":true,"pass":true,"why":""}
+{"example":"ui/text/font_weights","frame":5,"ssim":0.990279,"tile":17,"bevy":{"batch_keys":0,"entities":454,"extents":[],"frame":5,"frame_ms":54.312,"materials":1,"mesh_entities":0,"meshes":5,"other_material":0,"visible":0},"raea":{"frame":12,"entities":492,"mesh_entities":0,"visible":0,"meshes":7,"materials":1,"batch_keys":0,"other_material":0,"extents":[],"frame_ms":2.181,"step_ms":0.133,"cost_ms":2.314},"pixels":true,"draws":true,"time":true,"pass":true,"why":""}
+{"example":"ui/text/font_variations","frame":10,"ssim":0.992845,"tile":21,"bevy":{"batch_keys":0,"entities":452,"extents":[],"frame":10,"frame_ms":1.71,"materials":1,"mesh_entities":0,"meshes":5,"other_material":0,"visible":0},"raea":{"frame":17,"entities":492,"mesh_entities":0,"visible":0,"meshes":7,"materials":1,"batch_keys":0,"other_material":0,"extents":[],"frame_ms":1.054,"step_ms":0.127,"cost_ms":1.181},"pixels":true,"draws":true,"time":true,"pass":true,"why":""}
+{"example":"ui/text/font_variations","frame":5,"ssim":0.992845,"tile":21,"bevy":{"batch_keys":0,"entities":452,"extents":[],"frame":5,"frame_ms":52.525,"materials":1,"mesh_entities":0,"meshes":5,"other_material":0,"visible":0},"raea":{"frame":12,"entities":492,"mesh_entities":0,"visible":0,"meshes":7,"materials":1,"batch_keys":0,"other_material":0,"extents":[],"frame_ms":1.822,"step_ms":0.183,"cost_ms":2.005},"pixels":true,"draws":true,"time":true,"pass":true,"why":""}
+{"example":"ui/text/text_background_colors","frame":10,"ssim":0.997735,"tile":8,"bevy":{"batch_keys":0,"entities":505,"extents":[],"frame":10,"frame_ms":1.852,"materials":1,"mesh_entities":0,"meshes":5,"other_material":0,"visible":0},"raea":{"frame":17,"entities":492,"mesh_entities":0,"visible":0,"meshes":7,"materials":1,"batch_keys":0,"other_material":0,"extents":[],"frame_ms":0.901,"step_ms":0.118,"cost_ms":1.019},"pixels":true,"draws":true,"time":true,"pass":true,"why":""}
+{"example":"ui/text/text_background_colors","frame":5,"ssim":0.997735,"tile":8,"bevy":{"batch_keys":0,"entities":505,"extents":[],"frame":5,"frame_ms":50.768,"materials":1,"mesh_entities":0,"meshes":5,"other_material":0,"visible":0},"raea":{"frame":12,"entities":492,"mesh_entities":0,"visible":0,"meshes":7,"materials":1,"batch_keys":0,"other_material":0,"extents":[],"frame_ms":1.797,"step_ms":0.167,"cost_ms":1.964},"pixels":true,"draws":true,"time":true,"pass":true,"why":""}
+{"example":"ui/text/strikethrough_and_underline","frame":10,"ssim":0.990152,"tile":14,"bevy":{"batch_keys":0,"entities":454,"extents":[],"frame":10,"frame_ms":1.98,"materials":1,"mesh_entities":0,"meshes":5,"other_material":0,"visible":0},"raea":{"frame":17,"entities":492,"mesh_entities":0,"visible":0,"meshes":7,"materials":1,"batch_keys":0,"other_material":0,"extents":[],"frame_ms":0.883,"step_ms":0.118,"cost_ms":1.001},"pixels":true,"draws":true,"time":true,"pass":true,"why":""}
+{"example":"ui/text/strikethrough_and_underline","frame":5,"ssim":0.990152,"tile":14,"bevy":{"batch_keys":0,"entities":454,"extents":[],"frame":5,"frame_ms":52.127,"materials":1,"mesh_entities":0,"meshes":5,"other_material":0,"visible":0},"raea":{"frame":12,"entities":492,"mesh_entities":0,"visible":0,"meshes":7,"materials":1,"batch_keys":0,"other_material":0,"extents":[],"frame_ms":1.969,"step_ms":0.167,"cost_ms":2.136},"pixels":true,"draws":true,"time":true,"pass":true,"why":""}
+{"example":"ui/scroll_and_overflow/overflow","frame":10,"ssim":0.998143,"tile":5,"bevy":{"batch_keys":0,"entities":461,"extents":[],"frame":10,"frame_ms":1.852,"materials":1,"mesh_entities":0,"meshes":5,"other_material":0,"visible":0},"raea":{"frame":17,"entities":492,"mesh_entities":0,"visible":0,"meshes":7,"materials":1,"batch_keys":0,"other_material":0,"extents":[],"frame_ms":0.922,"step_ms":0.164,"cost_ms":1.086},"pixels":true,"draws":true,"time":true,"pass":true,"why":""}
+{"example":"ui/scroll_and_overflow/overflow","frame":5,"ssim":0.998143,"tile":5,"bevy":{"batch_keys":0,"entities":461,"extents":[],"frame":5,"frame_ms":51.846,"materials":1,"mesh_entities":0,"meshes":5,"other_material":0,"visible":0},"raea":{"frame":12,"entities":492,"mesh_entities":0,"visible":0,"meshes":7,"materials":1,"batch_keys":0,"other_material":0,"extents":[],"frame_ms":1.986,"step_ms":0.167,"cost_ms":2.153},"pixels":true,"draws":true,"time":true,"pass":true,"why":""}
+{"example":"ui/images/ui_texture_atlas","frame":10,"ssim":0.999601,"tile":7,"bevy":{"batch_keys":0,"entities":445,"extents":[],"frame":10,"frame_ms":1.935,"materials":1,"mesh_entities":0,"meshes":5,"other_material":0,"visible":0},"raea":{"frame":17,"entities":492,"mesh_entities":0,"visible":0,"meshes":7,"materials":1,"batch_keys":0,"other_material":0,"extents":[],"frame_ms":0.947,"step_ms":0.127,"cost_ms":1.074},"pixels":true,"draws":true,"time":true,"pass":true,"why":""}
+{"example":"ui/images/ui_texture_atlas","frame":5,"ssim":0.999601,"tile":7,"bevy":{"batch_keys":0,"entities":445,"extents":[],"frame":5,"frame_ms":51.422,"materials":1,"mesh_entities":0,"meshes":5,"other_material":0,"visible":0},"raea":{"frame":12,"entities":492,"mesh_entities":0,"visible":0,"meshes":7,"materials":1,"batch_keys":0,"other_material":0,"extents":[],"frame_ms":1.85,"step_ms":0.167,"cost_ms":2.017},"pixels":true,"draws":true,"time":true,"pass":true,"why":""}
+{"example":"2d/mesh2d_vertex_color_texture","frame":10,"ssim":0.998651,"tile":6,"bevy":{"batch_keys":0,"entities":442,"extents":[],"frame":10,"frame_ms":28.857,"materials":1,"mesh_entities":0,"meshes":6,"other_material":0,"visible":0},"raea":{"frame":17,"entities":495,"mesh_entities":0,"visible":0,"meshes":9,"materials":1,"batch_keys":0,"other_material":0,"extents":[],"frame_ms":1.158,"step_ms":0.155,"cost_ms":1.313},"pixels":true,"draws":true,"time":true,"pass":true,"why":""}
+{"example":"2d/mesh2d_repeated_texture","frame":10,"ssim":0.991205,"tile":17,"bevy":{"batch_keys":0,"entities":437,"extents":[],"frame":10,"frame_ms":21.886,"materials":1,"mesh_entities":0,"meshes":8,"other_material":0,"visible":0},"raea":{"frame":17,"entities":496,"mesh_entities":0,"visible":0,"meshes":10,"materials":1,"batch_keys":0,"other_material":0,"extents":[],"frame_ms":0.988,"step_ms":0.200,"cost_ms":1.188},"pixels":true,"draws":true,"time":true,"pass":true,"why":""}
+{"example":"ui/layout/flex_layout","frame":10,"ssim":0.990851,"tile":8,"bevy":{"batch_keys":0,"entities":602,"extents":[],"frame":10,"frame_ms":28.896,"materials":1,"mesh_entities":0,"meshes":5,"other_material":0,"visible":0},"raea":{"frame":17,"entities":492,"mesh_entities":0,"visible":0,"meshes":7,"materials":1,"batch_keys":0,"other_material":0,"extents":[],"frame_ms":0.955,"step_ms":0.073,"cost_ms":1.028},"pixels":true,"draws":true,"time":true,"pass":true,"why":""}
+{"example":"ui/scroll_and_overflow/overflow_clip_margin","frame":10,"ssim":0.996801,"tile":9,"bevy":{"batch_keys":0,"entities":465,"extents":[],"frame":10,"frame_ms":28.382,"materials":1,"mesh_entities":0,"meshes":5,"other_material":0,"visible":0},"raea":{"frame":17,"entities":492,"mesh_entities":0,"visible":0,"meshes":7,"materials":1,"batch_keys":0,"other_material":0,"extents":[],"frame_ms":0.866,"step_ms":0.173,"cost_ms":1.039},"pixels":true,"draws":true,"time":true,"pass":true,"why":""}
+{"example":"ui/images/ui_texture_slice","frame":10,"ssim":0.998957,"tile":8,"bevy":{"batch_keys":0,"entities":447,"extents":[],"frame":10,"frame_ms":28.766,"materials":1,"mesh_entities":0,"meshes":5,"other_material":0,"visible":0},"raea":{"frame":17,"entities":492,"mesh_entities":0,"visible":0,"meshes":7,"materials":1,"batch_keys":0,"other_material":0,"extents":[],"frame_ms":0.875,"step_ms":0.118,"cost_ms":0.993},"pixels":true,"draws":true,"time":true,"pass":true,"why":""}
+{"example":"ui/images/ui_texture_slice_flip_and_tile","frame":10,"ssim":1.000000,"tile":0,"bevy":{"batch_keys":0,"entities":461,"extents":[],"frame":10,"frame_ms":28.799,"materials":1,"mesh_entities":0,"meshes":5,"other_material":0,"visible":0},"raea":{"frame":17,"entities":492,"mesh_entities":0,"visible":0,"meshes":7,"materials":1,"batch_keys":0,"other_material":0,"extents":[],"frame_ms":0.917,"step_ms":0.173,"cost_ms":1.09},"pixels":true,"draws":true,"time":true,"pass":true,"why":""}
+{"example":"ui/images/ui_texture_atlas_slice","frame":10,"ssim":0.990791,"tile":17,"bevy":{"batch_keys":0,"entities":447,"extents":[],"frame":10,"frame_ms":28.085,"materials":1,"mesh_entities":0,"meshes":5,"other_material":0,"visible":0},"raea":{"frame":17,"entities":492,"mesh_entities":0,"visible":0,"meshes":7,"materials":1,"batch_keys":0,"other_material":0,"extents":[],"frame_ms":0.833,"step_ms":0.118,"cost_ms":0.951},"pixels":true,"draws":true,"time":true,"pass":true,"why":""}
+{"example":"ui/widgets/button","frame":10,"ssim":0.999600,"tile":8,"bevy":{"batch_keys":0,"entities":444,"extents":[],"frame":10,"frame_ms":28.223,"materials":1,"mesh_entities":0,"meshes":5,"other_material":0,"visible":0},"raea":{"frame":17,"entities":492,"mesh_entities":0,"visible":0,"meshes":7,"materials":1,"batch_keys":0,"other_material":0,"extents":[],"frame_ms":1.011,"step_ms":0.155,"cost_ms":1.166},"pixels":true,"draws":true,"time":true,"pass":true,"why":""}
+{"example":"ui/text/letter_spacing","frame":10,"ssim":0.995902,"tile":13,"bevy":{"batch_keys":0,"entities":455,"extents":[],"frame":10,"frame_ms":28.846,"materials":1,"mesh_entities":0,"meshes":5,"other_material":0,"visible":0},"raea":{"frame":17,"entities":492,"mesh_entities":0,"visible":0,"meshes":7,"materials":1,"batch_keys":0,"other_material":0,"extents":[],"frame_ms":0.892,"step_ms":0.127,"cost_ms":1.019},"pixels":true,"draws":true,"time":true,"pass":true,"why":""}
+{"example":"ui/styling/borders","frame":10,"ssim":0.991738,"tile":9,"bevy":{"batch_keys":0,"entities":591,"extents":[],"frame":10,"frame_ms":29.176,"materials":1,"mesh_entities":0,"meshes":5,"other_material":0,"visible":0},"raea":{"frame":17,"entities":492,"mesh_entities":0,"visible":0,"meshes":7,"materials":1,"batch_keys":0,"other_material":0,"extents":[],"frame_ms":0.876,"step_ms":0.064,"cost_ms":0.94},"pixels":true,"draws":true,"time":true,"pass":true,"why":""}
+{"example":"ui/window_fallthrough","frame":10,"ssim":0.990127,"tile":16,"bevy":{"batch_keys":0,"entities":441,"extents":[],"frame":10,"frame_ms":27.584,"materials":1,"mesh_entities":0,"meshes":5,"other_material":0,"visible":0},"raea":{"frame":17,"entities":492,"mesh_entities":0,"visible":0,"meshes":7,"materials":1,"batch_keys":0,"other_material":0,"extents":[],"frame_ms":0.901,"step_ms":0.145,"cost_ms":1.046},"pixels":true,"draws":true,"time":true,"pass":true,"why":""}
+{"example":"ui/text/inline_image","frame":10,"ssim":0.996682,"tile":11,"bevy":{"batch_keys":0,"entities":446,"extents":[],"frame":10,"frame_ms":29.023,"materials":1,"mesh_entities":0,"meshes":5,"other_material":0,"visible":0},"raea":{"frame":17,"entities":492,"mesh_entities":0,"visible":0,"meshes":7,"materials":1,"batch_keys":0,"other_material":0,"extents":[],"frame_ms":0.815,"step_ms":0.191,"cost_ms":1.006},"pixels":true,"draws":true,"time":true,"pass":true,"why":""}
diff --git a/sdk/raea/bench/bevy-parity/ui/text/inline_image.tsx b/sdk/raea/bench/bevy-parity/ui/text/inline_image.tsx
new file mode 100644
index 00000000..36276624
--- /dev/null
+++ b/sdk/raea/bench/bevy-parity/ui/text/inline_image.tsx
@@ -0,0 +1,27 @@
+// Bevy v0.20.0 examples/ui/text/inline_image.rs in raea's TSX (docs/control.feature FC0a): one Text in Bevy's
+// default font at 40 px, centred in the window with a 25 px margin on a maroon background inside a 2 px white
+// outline, whose spans run around two InlineImages: bevy_logo_dark.png 30 px tall tinted red, and bevy_bird_dark.png
+// 30 px wide tinted yellow. Bevy's Camera2d over the default clear colour is the layered <Canvas3D>. In Bevy's
+// default 1280 x 720 window.
+import { AbsoluteFill, Composition, registerRoot, staticFile } from "raea";
+import { Canvas3D } from "raea/3d";
+import { InlineImage, Text, TextSpan, UiRect, px } from "raea/ui";
+import { Srgba } from "raea/color";
+
+function Shot() {
+ return (
+ <AbsoluteFill>
+ <Canvas3D layered clearColor="rgb(43, 44, 47)" />
+ <Text font_size={40} margin={UiRect.all(px(25))} justify_self="Center" align_self="Center" background_color={new Srgba(0.5019608, 0, 0)} outline={{ width: px(2) }}>
+ [Text]
+ <TextSpan font_size={40}>[span before image]</TextSpan>
+ <InlineImage image={staticFile("branding/bevy_logo_dark.png")} color={new Srgba(1, 0, 0)} height={30} />
+ <TextSpan font_size={40}>[span between images]</TextSpan>
+ <InlineImage image={staticFile("branding/bevy_bird_dark.png")} color={new Srgba(1, 1, 0)} width={30} />
+ <TextSpan font_size={40}>[span after image]</TextSpan>
+ </Text>
+ </AbsoluteFill>
+ );
+}
+
+registerRoot(() => <Composition id="main" component={Shot} durationInFrames={11} fps={60} width={1280} height={720} />);
diff --git a/sdk/raea/bench/bevy-parity/ui/window_fallthrough.tsx b/sdk/raea/bench/bevy-parity/ui/window_fallthrough.tsx
new file mode 100644
index 00000000..54f85fa4
--- /dev/null
+++ b/sdk/raea/bench/bevy-parity/ui/window_fallthrough.tsx
@@ -0,0 +1,18 @@
+// Bevy v0.20.0 examples/ui/window_fallthrough.rs in raea's TSX (docs/control.feature FC0a): a transparent window
+// (ClearColor(Color::NONE)) holding "Hit 'P' then scroll/click around!" in FiraSans-Bold 83 px, absolute 5 px from
+// the bottom and 10 px from the right. Its pass-through toggle sees no key here. Bevy's Camera2d over that clear
+// colour is the layered <Canvas3D>. In Bevy's default 1280 x 720 window.
+import { AbsoluteFill, Composition, registerRoot, staticFile } from "raea";
+import { Canvas3D } from "raea/3d";
+import { Text, px } from "raea/ui";
+
+function Shot() {
+ return (
+ <AbsoluteFill>
+ <Canvas3D layered clearColor="rgba(0, 0, 0, 0)" />
+ <Text font={staticFile("fonts/FiraSans-Bold.ttf")} font_size={{ Px: 83 }} position_type="Absolute" bottom={px(5)} right={px(10)}>Hit 'P' then scroll/click around!</Text>
+ </AbsoluteFill>
+ );
+}
+
+registerRoot(() => <Composition id="main" component={Shot} durationInFrames={11} fps={60} width={1280} height={720} />);
diff --git a/sdk/raea/conformance/ui.test.tsx b/sdk/raea/conformance/ui.test.tsx
index 97a99efc..969f3071 100644
--- a/sdk/raea/conformance/ui.test.tsx
+++ b/sdk/raea/conformance/ui.test.tsx
@@ -1,7 +1,7 @@
// docs/control.feature FC0a: bevy_ui's Node, Text and TextSpan on the page, with Bevy's defaults, values and blend
// (ui/styling/transparency_ui, ui/layout/fixed_node).
import { describe, expect, test } from "bun:test";
-import { BorderRadius, CornerRadius, FontVariationTag, ImageNode, ImagePlugin, Node, TextureAtlasLayout, Overflow, OverflowClipMargin, Text, TextShadow, Text2d, UiScale, TextSpan, UiRect, auto, percent, px, vw } from "raea/ui";
+import { BorderRadius, CornerRadius, FontVariationTag, ImageNode, InlineImage, ImagePlugin, Node, TextureAtlasLayout, Overflow, OverflowClipMargin, Text, TextShadow, Text2d, UiScale, TextSpan, UiRect, auto, percent, px, vw } from "raea/ui";
import { LinearRgba, Srgba } from "raea/color";
import { renderFrame } from "../src/test";
import { Transform } from "raea/transform";
@@ -100,9 +100,9 @@ describe("ImageNode, Underline and Strikethrough", () => {
expect(() => html(<ImageNode image="" />)).toThrow(/picture file/);
});
test("Underline and Strikethrough are lines on the text; a font file's face spans every weight (a variable font's axis)", () => {
- // inside the text's own block (the inline root Blitz draws decorations from), not on the Node around it; as thick
- // as the font says; the block measured as bevy_text measures (whole pixels)
- expect(html(<Text underline strikethrough>a</Text>)).toContain('<span data-raea-bevy-text="" style="white-space:pre-wrap"><span style="text-decoration-line:underline line-through;text-decoration-thickness:from-font">a</span></span>');
+ // on its own strings inside the text's block (the Text's box, the inline root Blitz draws decorations from); as
+ // thick as the font says; the block measured as bevy_text measures (whole pixels)
+ expect(html(<Text underline strikethrough>a</Text>)).toContain('white-space:pre-wrap" data-raea-bevy-text=""><span style="text-decoration-line:underline line-through;text-decoration-thickness:from-font">a</span></div>');
expect(html(<Text>a</Text>)).not.toContain("text-decoration");
// a Text's lines are its own string's: its spans aren't struck (CSS would carry them to every span inside)
const mixed = html(<Text strikethrough>a<TextSpan>b</TextSpan></Text>);
@@ -178,9 +178,16 @@ describe("A sliced ImageNode, a sampled picture and UiScale", () => {
expect(() => html(<ImageNode image="p.png" image_mode={{ Sliced: { ...slicer, center_scale_mode: { Tile: { stretch_value: 0 } } } }} />)).toThrow(/center_scale_mode is/);
expect(() => html(<ImageNode image="p.png" image_mode={{ Sliced: { border: { left: -1, right: 0, top: 0, bottom: 0 } } }} />)).toThrow(/px >= 0/);
});
- test("a centred or right-justified Text's block fills its node, so its lines are justified within the node's width", () => {
- expect(html(<Text justify="Right" width={percent(100)}>hi</Text>)).toContain('white-space:pre-wrap;flex-grow:1');
- expect(html(<Text justify="Left" width={percent(100)}>hi</Text>)).not.toContain("flex-grow:1");
+ test("a Text's box is its text's block, a measured leaf (a block container), so its lines are justified within it", () => {
+ const out = html(<Text justify="Right" width={percent(100)}>hi</Text>);
+ expect(out).toMatch(/<div style="display:flow-root;[^"]*width:100%[^"]*text-align:right;white-space:pre-wrap" data-raea-bevy-text="">hi<\/div>/);
+ expect(html(<Text display="None">hi</Text>)).toContain("display:none");
+ });
+ test("InlineImage is a picture in the line, sized by width or height and its aspect, tinted by multiplying it over the colour, its alpha the mask", () => {
+ const out = html(<Text>a<InlineImage image="p.png" color={new Srgba(1, 0, 0, 0.5)} height={30} /></Text>);
+ for (const s of ['background-image:url(&quot;p.png&quot;), linear-gradient(rgba(255, 0, 0, 1), rgba(255, 0, 0, 1))', "background-blend-mode:multiply", 'mask-image:url(&quot;p.png&quot;)', "opacity:0.5", '<img src="p.png" style="display:block;height:30px;opacity:0"/>']) expect(out).toContain(s);
+ expect(html(<Text><InlineImage image="p.png" width={30} /></Text>)).toContain('<span style="display:inline-block"><img src="p.png" style="display:block;width:30px;opacity:1"/></span>');
+ expect(() => html(<Text><InlineImage image="p.png" width={0} /></Text>)).toThrow(/width is px above 0/);
});
test("corners resolve as Bevy's do with the node's px size: circular ones clamped to half its shorter side, elliptical ones per axis", () => {
const out = html(<Node width={px(50)} height={px(40)} border_radius={BorderRadius.px(3.4e38, 0, 10, 0)} />);
diff --git a/sdk/raea/src/ui.ts b/sdk/raea/src/ui.ts
index eb57ac0c..27a9bcb6 100644
--- a/sdk/raea/src/ui.ts
+++ b/sdk/raea/src/ui.ts
@@ -6,4 +6,4 @@ export * from "@raea/video/region";
// InputRegion (input-region.tsx) joins when it is committed
export * from "@raea/video/panel";
// bevy_ui's Node and Text, and bevy_text's TextSpan, with their values (Val, UiRect, BorderRadius, Overflow)
-export { Node, Text, TextSpan, TextShadow, Text2d, UiScale, ImageNode, type TextureSlicer, type SliceScaleMode, ImagePlugin, FontVariationTag, TextureAtlasLayout, type ImageNodeProps, px, percent, vw, vh, vmin, vmax, auto, UiRect, BorderRadius, CornerRadius, Overflow, OverflowClipMargin, type NodeProps, type TextProps, type TextStyleProps, type TextRunProps, type Text2dProps, type Val } from "@raea/render/bevy3d";
+export { Node, Text, TextSpan, TextShadow, Text2d, UiScale, ImageNode, InlineImage, type TextureSlicer, type SliceScaleMode, ImagePlugin, FontVariationTag, TextureAtlasLayout, type ImageNodeProps, px, percent, vw, vh, vmin, vmax, auto, UiRect, BorderRadius, CornerRadius, Overflow, OverflowClipMargin, type NodeProps, type TextProps, type TextStyleProps, type TextRunProps, type Text2dProps, type Val } from "@raea/render/bevy3d";
diff --git a/sdk/render/src/bevy3d.tsx b/sdk/render/src/bevy3d.tsx
index f5d93483..94093dd6 100644
--- a/sdk/render/src/bevy3d.tsx
+++ b/sdk/render/src/bevy3d.tsx
@@ -29,5 +29,5 @@ export { Hdr } from "./bevy3d/core";
export { Lightmap, type LightmapProps } from "./bevy3d/lightmap";
// bevy_ui's Node, Text and TextSpan, and their values, drawn by the page (docs/control.feature FC0a)
export { Node, Text, TextSpan, TextShadow, Text2d, UiScale, FontVariationTag, type NodeProps, type TextProps, type TextStyleProps, type TextRunProps, type Text2dProps } from "./bevy3d/ui";
-export { ImageNode, ImagePlugin, TextureAtlasLayout, type TextureSlicer, type SliceScaleMode, type ImageNodeProps } from "./bevy3d/ui-image";
+export { ImageNode, InlineImage, ImagePlugin, TextureAtlasLayout, type TextureSlicer, type SliceScaleMode, type ImageNodeProps } from "./bevy3d/ui-image";
export { px, percent, vw, vh, vmin, vmax, auto, UiRect, BorderRadius, CornerRadius, Overflow, OverflowClipMargin, type Val } from "./bevy3d/ui-val";
diff --git a/sdk/render/src/bevy3d/ui-image.tsx b/sdk/render/src/bevy3d/ui-image.tsx
index a184817f..f06cbf47 100644
--- a/sdk/render/src/bevy3d/ui-image.tsx
+++ b/sdk/render/src/bevy3d/ui-image.tsx
@@ -2,8 +2,8 @@
// nine (NodeImageMode::Sliced), each sampled as ImagePlugin's default sampler or its own says.
import { Children, createContext, useContext, type CSSProperties, type ReactNode } from "react";
import { InUi, VIEWPORT, boxOf, nodeCss, type NodeProps } from "./ui";
-import { px } from "./ui-val";
-import type { LinearRgba, Srgba } from "./colors";
+import { over, px } from "./ui-val";
+import { LinearRgba, Srgba } from "./colors";
import { samplerSpec, type SamplerSpec } from "../3d/materials";
type Color = Srgba | LinearRgba | string;
@@ -151,3 +151,24 @@ function SlicedNode({ image, color, flip_x, flip_y, children, fixed, texture_atl
const layer = <div key="raea-slices" style={{ position: "absolute", left: 0, top: 0, width: "100%", height: "100%", zIndex: -1, transform: flips, ...slices }} {...marker} />;
return boxOf({ ...n.css, position: n.css.position ?? "relative", zIndex: 0 }, n.back, [layer, ...Children.toArray(children)], root);
}
+
+/** bevy_ui's InlineImage: a picture in a <Text>'s line, as an inline box on its baseline (bevy_text's parley lays it
+ * out so, and Blitz's parley here), `width` and `height` px (the other by its aspect, or its own size), tinted by
+ * `color` (each pixel times it: the picture multiplied over the tint, its own alpha the mask).
+ * @bevy bevy_ui::widget::InlineImage */
+export function InlineImage({ image, color, width, height }: { image: string; color?: Color; width?: number; height?: number }) {
+ if (typeof image !== "string" || image === "") throw new TypeError(`InlineImage: image is a picture file (staticFile("x.png")), got ${JSON.stringify(image)}`);
+ for (const [k, v] of [["width", width], ["height", height]] as const) if (v !== undefined && !(Number.isFinite(v) && v > 0)) throw new RangeError(`InlineImage: ${k} is px above 0, got ${v}`);
+ const url = `url("${image}")`;
+ // the tint opaque, multiplied under the picture, and its alpha the box's opacity (each pixel's alpha times it)
+ const s = color instanceof LinearRgba ? color.to_srgba() : color instanceof Srgba ? color : undefined;
+ if (color !== undefined && s === undefined) throw new TypeError(`InlineImage: color is an Srgba or LinearRgba, got ${JSON.stringify(color)}`);
+ const tint = s && over("InlineImage", "color", new Srgba(s.red, s.green, s.blue, 1), undefined).css;
+ const tinted: CSSProperties = tint === undefined ? {} : { backgroundImage: `${url}, linear-gradient(${tint}, ${tint})`, backgroundSize: "100% 100%", backgroundBlendMode: "multiply", maskImage: url, maskSize: "100% 100%" };
+ if (s && s.alpha < 1) tinted.opacity = Math.max(0, s.alpha);
+ return (
+ <span style={{ display: "inline-block", ...tinted }}>
+ <img src={image} style={{ display: "block", width: width === undefined ? undefined : `${width}px`, height: height === undefined ? undefined : `${height}px`, opacity: tint === undefined ? 1 : 0 }} />
+ </span>
+ );
+}
diff --git a/sdk/render/src/bevy3d/ui.tsx b/sdk/render/src/bevy3d/ui.tsx
index 90baa849..35a52e88 100644
--- a/sdk/render/src/bevy3d/ui.tsx
+++ b/sdk/render/src/bevy3d/ui.tsx
@@ -43,8 +43,8 @@ export interface NodeProps {
background_color?: Color;
/** BorderColor: every side one colour, or each its own ({ top, right, bottom, left }) */
border_color?: Color | { top: Color; right: Color; bottom: Color; left: Color };
- /** Outline: a line outside the border box, `offset` from it (0 by default) */
- outline?: { width: Val; offset?: Val; color: Color };
+ /** Outline: a line outside the border box, `offset` from it (0 by default), white by default */
+ outline?: { width: Val; offset?: Val; color?: Color };
z_index?: number;
/** FixedNode: laid out as a root wherever it is in the tree (its own viewport, the window's), drawn with its parent */
fixed?: boolean;
@@ -104,7 +104,7 @@ export function nodeCss(who: string, p: NodeProps, back?: Backdrop): { css: CSSP
if (p.border_radius !== undefined) s.borderRadius = radiusCss(who, p.border_radius, wh.every(Number.isFinite) ? (wh as [number, number]) : undefined);
// (the outline is outside the node: over what is under the node, not its own background)
if (p.outline !== undefined) {
- s.outline = `${checkVal(who, "outline.width", p.outline.width)} solid ${over(who, "outline.color", p.outline.color, back).css}`;
+ s.outline = `${checkVal(who, "outline.width", p.outline.width)} solid ${over(who, "outline.color", p.outline.color ?? "#ffffff", back).css}`;
if (p.outline.offset !== undefined) s.outlineOffset = checkVal(who, "outline.offset", p.outline.offset);
}
if (p.background_color !== undefined) ({ css: s.backgroundColor, back } = over(who, "background_color", p.background_color, back));
@@ -287,7 +287,7 @@ export function Text({ children, font, font_size, weight, style, color, line_hei
if (justify !== undefined && !["Left", "Center", "Right", "Justified", "Start", "End"].includes(justify)) throw new TypeError(`Text: justify is Left, Center, Right, Justified, Start or End, got ${JSON.stringify(justify)}`);
if (linebreak !== undefined && !(linebreak in BREAK)) throw new TypeError(`Text: linebreak is WordBoundary, AnyCharacter, WordOrCharacter or NoWrap, got ${JSON.stringify(linebreak)}`);
const textAlign = { Left: "left", Center: "center", Right: "right", Justified: "justify", Start: "start", End: "end" }[justify ?? "Left"] as CSSProperties["textAlign"];
- // the text itself in one block inside the Node, as bevy_text's measured leaf: its lines laid out together.
+ // the text itself the Node's own block, as bevy_text's measured leaf: its lines laid out together.
// data-raea-bevy-text: Blitz measures the block as bevy_text does, rounded up to whole pixels (38.4 px lines are 39).
// Its own strings carry its lines and background (runOf), inside the block: Blitz draws a line from the run's
// inline root down, not from a block above it, as thick as the font says (bevy_text's underline_size, not em/10)
@@ -299,9 +299,12 @@ export function Text({ children, font, font_size, weight, style, color, line_hei
if (!(Number.isFinite(x) && Number.isFinite(y))) throw new TypeError(`Text: shadow is { offset: [x, y], color } (TextShadow.default()), got ${JSON.stringify(shadow)}`);
css.textShadow = `${x}px ${y}px 0 ${over("Text", "shadow.color", shadow.color, n.back).css}`;
}
- // the block fills a node wider than its lines, so a centred or right one is so within the node, as bevy_text justifies
- const fill: CSSProperties = justify === "Center" || justify === "Right" || justify === "End" ? { flexGrow: 1 } : {};
- return boxOf(css, n.back, <span data-raea-bevy-text="" style={{ ...BREAK[linebreak ?? "WordBoundary"], ...fill }}>{own}</span>, ui === null, <style>{t.face}</style>);
+ // the box itself the text's block (a block container, not Node's flex): bevy_ui's Text is a measured leaf, which a
+ // grid or a flex line sizes by its text's min- and max-content, and which Blitz sizes as bevy_text does, a wrapped
+ // one as wide as its widest line (taffy sizes a flex container's min-content by its items' max-content, so a root
+ // Text in its viewport grid never wrapped). Its lines are justified within the box
+ if (css.display !== "none") css.display = "flow-root";
+ return boxOf({ ...css, ...BREAK[linebreak ?? "WordBoundary"] }, n.back, own, ui === null, <style>{t.face}</style>, { "data-raea-bevy-text": "" });
}
/** A run of a <Text> in a style of its own (Bevy's defaults, not its Text's, where left out). @bevy bevy_text::text::TextSpan */
diff --git a/sdk/skills/raea/reference/sdk.md b/sdk/skills/raea/reference/sdk.md
index 2a99c36d..b6bf8e33 100644
--- a/sdk/skills/raea/reference/sdk.md
+++ b/sdk/skills/raea/reference/sdk.md
@@ -99,7 +99,7 @@ with a capital, hooks with `use`. A component's props are in its file.
## `raea/ui` (sdk/raea/src/ui.ts)
-`AbsoluteFill`, `BorderRadius`, `CornerRadius`, `FontVariationTag`, `ImageNode`, `ImagePlugin`, `Node`, `Overflow`, `OverflowClipMargin`, `Text`, `Text2d`, `TextShadow`, `TextSpan`, `TextureAtlasLayout`, `UiRect`, `UiScale`, `auto`, `percent`, `px`, `vh`, `vmax`, `vmin`, `vw`
+`AbsoluteFill`, `BorderRadius`, `CornerRadius`, `FontVariationTag`, `ImageNode`, `ImagePlugin`, `InlineImage`, `Node`, `Overflow`, `OverflowClipMargin`, `Text`, `Text2d`, `TextShadow`, `TextSpan`, `TextureAtlasLayout`, `UiRect`, `UiScale`, `auto`, `percent`, `px`, `vh`, `vmax`, `vmin`, `vw`
## `raea/video` (sdk/raea/src/video.ts)
diff --git a/vendor/blitz-dom/src/layout/inline.rs b/vendor/blitz-dom/src/layout/inline.rs
index 1a863fb8..5f72e8dd 100644
--- a/vendor/blitz-dom/src/layout/inline.rs
+++ b/vendor/blitz-dom/src/layout/inline.rs
@@ -920,6 +920,16 @@ impl LayoutPassState<'_> {
}
}
+ // raea: a bevy_text box sized by its content (no width of its own), its lines broken in the space it was
+ // given: as wide as its widest line, as bevy_text measures it (TextPipeline's laid-out size), not that space
+ let width = if unit == 1.0 && known_dimensions.width.is_none() && node_size.width.is_none() && inline_layout.layout.len() > 1 {
+ let w = inline_layout.layout.width().ceil().min(width);
+ inline_layout.layout.set_lines_max_advance(w);
+ w
+ } else {
+ width
+ };
+
// Propagate the height consumed by floats placed within this container to the
// enclosing block context (so that the BFC root can contain them)
#[cfg(feature = "floats")]