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_pbr::pbr_bindings
3#import bevy_pbr::pbr_types as Types
5@group(1) @binding(0)
6var<uniform> material: Types::StandardMaterial;
7@group(1) @binding(1)
8var base_color_texture: texture_2d<f32>;
9@group(1) @binding(2)
10var base_color_sampler: sampler;
11@group(1) @binding(3)
12var emissive_texture: texture_2d<f32>;
13@group(1) @binding(4)
14var emissive_sampler: sampler;
15@group(1) @binding(5)
16var metallic_roughness_texture: texture_2d<f32>;
17@group(1) @binding(6)
18var metallic_roughness_sampler: sampler;
19@group(1) @binding(7)
20var occlusion_texture: texture_2d<f32>;
21@group(1) @binding(8)
22var occlusion_sampler: sampler;
23@group(1) @binding(9)
24var normal_map_texture: texture_2d<f32>;
25@group(1) @binding(10)
26var normal_map_sampler: sampler;
Contents