Advanced search tips: use spaces to require multiple terms (AND), | for alternatives (OR), wrap phrases in quotes (="a b"), =term for exact match, 'term to include, !term to exclude, ^term to match prefix, !^term to exclude prefix, .ext$ to match suffix, and !.ext$ to exclude suffix.

pbr_bindings.wgsl

Import path

Bindings

material

#
@group(1)
@binding(0)
var<uniform> material: Types

base_color_texture

#
@group(1)
@binding(1)
var base_color_texture: texture_2d<f32>

base_color_sampler

#
@group(1)
@binding(2)
var base_color_sampler: sampler

emissive_texture

#
@group(1)
@binding(3)
var emissive_texture: texture_2d<f32>

emissive_sampler

#
@group(1)
@binding(4)
var emissive_sampler: sampler

metallic_roughness_texture

#
@group(1)
@binding(5)
var metallic_roughness_texture: texture_2d<f32>

metallic_roughness_sampler

#
@group(1)
@binding(6)
var metallic_roughness_sampler: sampler

occlusion_texture

#
@group(1)
@binding(7)
var occlusion_texture: texture_2d<f32>

occlusion_sampler

#
@group(1)
@binding(8)
var occlusion_sampler: sampler

normal_map_texture

#
@group(1)
@binding(9)
var normal_map_texture: texture_2d<f32>

normal_map_sampler

#
@group(1)
@binding(10)
var normal_map_sampler: sampler