Commit Graph

4 Commits

Author SHA1 Message Date
Jan Hohenheim 9737c3076c Fix copy-pasting mistake in extended material bindless example (#22373)
# Objective

- The docs are a bit weird, which is probably due to someone at some
point accidentally copy-pasting the wgsl correspondence code

## Solution

- Write the actual code
- Also use our fancy `#{MATERIAL_BIND_GROUP}` in the docs, given that
it's used in the shader :)
- Split the line a liiiiittle bit differently

## Testing

- None, just docs. Well, I did make sure that the stuff in the docs is
the same as in the shader!

---------

Co-authored-by: Nico Zweifel <34443492+NicoZweifel@users.noreply.github.com>
2026-01-05 02:06:01 +00:00
atlv 6eca318add Use bevy::shader in examples instead of bevy::render::shader re-export (#20492)
# Objective

- Prepare for removing re-exports
- Probably depends on #20491 merging first

## Solution

- title

## Testing

- cargo check --examples --all-features
2025-08-10 18:08:47 +00:00
atlv acc8f6d455 Stop using mesh re-exports in-repo and add bevy_mesh prelude (#20473)
# Objective

- prepare to remove bevy_mesh re-export from bevy_render. This will be
done in 0.18, but we might as well prepare for it now.

## Solution

- Add a prelude and use bevy_mesh directly. After this pr and #20471, we
will be ready.

## Testing

- cargo check --examples
2025-08-09 17:46:27 +00:00
Patrick Walton dc7c8f228f Add bindless support back to ExtendedMaterial. (#18025)
PR #17898 disabled bindless support for `ExtendedMaterial`. This commit
adds it back. It also adds a new example, `extended_material_bindless`,
showing how to use it.
2025-04-09 15:34:44 +00:00