bevy/assets/shaders
robtfm 30cb95d96e
fix custom shader imports (#10030)
# Objective

assets v2 broke custom shader imports. fix them

## Solution

store handles of any file dependencies in the `Shader` to avoid them
being immediately dropped.
also added a use into the `shader_material` example so that it'll be
harder to break support in future.
2023-10-06 01:34:57 +00:00
..
animate_shader.wgsl improve shader import model (#5703) 2023-06-27 00:29:22 +00:00
array_texture.wgsl Use a single line for of large binding lists (#9849) 2023-09-19 22:17:44 +00:00
cubemap_unlit.wgsl Use a single line for of large binding lists (#9849) 2023-09-19 22:17:44 +00:00
custom_gltf_2d.wgsl Automatic batching/instancing of draw commands (#9685) 2023-09-21 22:12:34 +00:00
custom_material.frag improve shader import model (#5703) 2023-06-27 00:29:22 +00:00
custom_material.vert fix shader_material_glsl example (#9513) 2023-08-21 07:58:21 +00:00
custom_material.wgsl fix custom shader imports (#10030) 2023-10-06 01:34:57 +00:00
custom_material_import.wgsl fix custom shader imports (#10030) 2023-10-06 01:34:57 +00:00
custom_material_screenspace_texture.wgsl Use a single line for of large binding lists (#9849) 2023-09-19 22:17:44 +00:00
custom_vertex_attribute.wgsl Use a single line for of large binding lists (#9849) 2023-09-19 22:17:44 +00:00
fallback_image_test.wgsl Use a single line for of large binding lists (#9849) 2023-09-19 22:17:44 +00:00
game_of_life.wgsl Use a single line for of large binding lists (#9849) 2023-09-19 22:17:44 +00:00
instancing.wgsl Fix shader_instancing example (#9448) 2023-08-15 07:28:45 +00:00
line_material.wgsl Use a single line for of large binding lists (#9849) 2023-09-19 22:17:44 +00:00
post_processing.wgsl Use a single line for of large binding lists (#9849) 2023-09-19 22:17:44 +00:00
shader_defs.wgsl Use a single line for of large binding lists (#9849) 2023-09-19 22:17:44 +00:00
show_prepass.wgsl Use a single line for of large binding lists (#9849) 2023-09-19 22:17:44 +00:00
texture_binding_array.wgsl Use a single line for of large binding lists (#9849) 2023-09-19 22:17:44 +00:00
tonemapping_test_patterns.wgsl Include tone_mapping fn in tonemapping_test_patterns (#9084) 2023-07-31 18:59:04 +00:00