bevy/examples/shader
IceSentry bfcb19a871
Add example showing how to use SpecializedMeshPipeline (#14370)
# Objective

- A lot of mid-level rendering apis are hard to figure out because they
don't have any examples
- SpecializedMeshPipeline can be really useful in some cases when you
want more flexibility than a Material without having to go to low level
apis.

## Solution

- Add an example showing how to make a custom `SpecializedMeshPipeline`.

## Testing

- Did you test these changes? If so, how?
- Are there any parts that need more testing?
- How can other people (reviewers) test your changes? Is there anything
specific they need to know?
- If relevant, what platforms did you test these changes on, and are
there any important ones you can't test?

---

## Showcase

The examples just spawns 3 triangles in a triangle pattern.


![image](https://github.com/user-attachments/assets/c3098758-94c4-4775-95e5-1d7c7fb9eb86)

---------

Co-authored-by: Alice Cecile <alice.i.cecile@gmail.com>
2024-07-31 18:24:58 +00:00
..
animate_shader.rs Highlight dependency on shader files in examples (#13824) 2024-06-12 14:16:01 +00:00
array_texture.rs Highlight dependency on shader files in examples (#13824) 2024-06-12 14:16:01 +00:00
compute_shader_game_of_life.rs Handle wgsl errors in the game of life example (#13624) 2024-06-03 13:31:56 +00:00
custom_phase_item.rs Move Msaa to component (#14273) 2024-07-22 18:28:23 +00:00
custom_post_processing.rs Start a built-in postprocessing stack, and implement chromatic aberration in it. (#13695) 2024-07-15 13:59:02 +00:00
custom_vertex_attribute.rs Highlight dependency on shader files in examples (#13824) 2024-06-12 14:16:01 +00:00
extended_material.rs Highlight dependency on shader files in examples (#13824) 2024-06-12 14:16:01 +00:00
fallback_image.rs Highlight dependency on shader files in examples (#13824) 2024-06-12 14:16:01 +00:00
gpu_readback.rs Highlight dependency on shader files in examples (#13824) 2024-06-12 14:16:01 +00:00
shader_defs.rs Highlight dependency on shader files in examples (#13824) 2024-06-12 14:16:01 +00:00
shader_instancing.rs Don't ignore draw errors (#13240) 2024-07-22 19:22:30 +00:00
shader_material_2d.rs Highlight dependency on shader files in examples (#13824) 2024-06-12 14:16:01 +00:00
shader_material_glsl.rs Highlight dependency on shader files in examples (#13824) 2024-06-12 14:16:01 +00:00
shader_material_screenspace_texture.rs Highlight dependency on shader files in examples (#13824) 2024-06-12 14:16:01 +00:00
shader_material.rs Highlight dependency on shader files in examples (#13824) 2024-06-12 14:16:01 +00:00
shader_prepass.rs Move Msaa to component (#14273) 2024-07-22 18:28:23 +00:00
specialized_mesh_pipeline.rs Add example showing how to use SpecializedMeshPipeline (#14370) 2024-07-31 18:24:58 +00:00
texture_binding_array.rs Highlight dependency on shader files in examples (#13824) 2024-06-12 14:16:01 +00:00