Search across packages, versions, files, declarations, and comments. Use multiple terms to narrow results (AND), and add @vertex, @fragment, or @compute to filter by shader stage.
1#define_import_path bevy_feronia::bindings
2#import bevy_feronia::wind::{Wind, BindlessWindIndices}
4#ifdef BINDLESS
5#import bevy_pbr::pbr_bindings::{material_array, material_indices}
6#else
7#import bevy_pbr::pbr_bindings::material
8#endif
10#ifdef BINDLESS
11@group(3) @binding(100) var<storage> wind_indices:
12 array<BindlessWindIndices>;
13@group(3) @binding(101) var<storage> wind_material:
14 array<Wind>;
16#else
18@group(3) @binding(50) var<uniform> wind: Wind;
19@group(3) @binding(51) var noise_texture: texture_2d<f32>;
20@group(3) @binding(52) var noise_texture_sampler: sampler;
22#endif
Contents