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.

Bindings

material_indices

#
@group(constants::MATERIAL_BIND_GROUP)
@binding(0)
var<storage> material_indices: array<StandardMaterialBindings>

material_array

#
@group(constants::MATERIAL_BIND_GROUP)
@binding(10)
var<storage> material_array: array<StandardMaterial>

material

#
@group(constants::MATERIAL_BIND_GROUP)
@binding(0)
var<uniform> material: StandardMaterial

base_color_texture

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

base_color_sampler

#
@group(constants::MATERIAL_BIND_GROUP)
@binding(2)
var base_color_sampler: sampler

emissive_texture

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

emissive_sampler

#
@group(constants::MATERIAL_BIND_GROUP)
@binding(4)
var emissive_sampler: sampler

metallic_roughness_texture

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

metallic_roughness_sampler

#
@group(constants::MATERIAL_BIND_GROUP)
@binding(6)
var metallic_roughness_sampler: sampler

occlusion_texture

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

occlusion_sampler

#
@group(constants::MATERIAL_BIND_GROUP)
@binding(8)
var occlusion_sampler: sampler

normal_map_texture

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

normal_map_sampler

#
@group(constants::MATERIAL_BIND_GROUP)
@binding(10)
var normal_map_sampler: sampler

depth_map_texture

#
@group(constants::MATERIAL_BIND_GROUP)
@binding(11)
var depth_map_texture: texture_2d<f32>

depth_map_sampler

#
@group(constants::MATERIAL_BIND_GROUP)
@binding(12)
var depth_map_sampler: sampler

anisotropy_texture

#
@group(constants::MATERIAL_BIND_GROUP)
@binding(13)
var anisotropy_texture: texture_2d<f32>

anisotropy_sampler

#
@group(constants::MATERIAL_BIND_GROUP)
@binding(14)
var anisotropy_sampler: sampler

specular_transmission_texture

#
@group(constants::MATERIAL_BIND_GROUP)
@binding(15)
var specular_transmission_texture: texture_2d<f32>

specular_transmission_sampler

#
@group(constants::MATERIAL_BIND_GROUP)
@binding(16)
var specular_transmission_sampler: sampler

thickness_texture

#
@group(constants::MATERIAL_BIND_GROUP)
@binding(17)
var thickness_texture: texture_2d<f32>

thickness_sampler

#
@group(constants::MATERIAL_BIND_GROUP)
@binding(18)
var thickness_sampler: sampler

diffuse_transmission_texture

#
@group(constants::MATERIAL_BIND_GROUP)
@binding(19)
var diffuse_transmission_texture: texture_2d<f32>

diffuse_transmission_sampler

#
@group(constants::MATERIAL_BIND_GROUP)
@binding(20)
var diffuse_transmission_sampler: sampler

clearcoat_texture

#
@group(constants::MATERIAL_BIND_GROUP)
@binding(21)
var clearcoat_texture: texture_2d<f32>

clearcoat_sampler

#
@group(constants::MATERIAL_BIND_GROUP)
@binding(22)
var clearcoat_sampler: sampler

clearcoat_roughness_texture

#
@group(constants::MATERIAL_BIND_GROUP)
@binding(23)
var clearcoat_roughness_texture: texture_2d<f32>

clearcoat_roughness_sampler

#
@group(constants::MATERIAL_BIND_GROUP)
@binding(24)
var clearcoat_roughness_sampler: sampler

clearcoat_normal_texture

#
@group(constants::MATERIAL_BIND_GROUP)
@binding(25)
var clearcoat_normal_texture: texture_2d<f32>

clearcoat_normal_sampler

#
@group(constants::MATERIAL_BIND_GROUP)
@binding(26)
var clearcoat_normal_sampler: sampler

specular_texture

#
@group(constants::MATERIAL_BIND_GROUP)
@binding(27)
var specular_texture: texture_2d<f32>

specular_sampler

#
@group(constants::MATERIAL_BIND_GROUP)
@binding(28)
var specular_sampler: sampler

specular_tint_texture

#
@group(constants::MATERIAL_BIND_GROUP)
@binding(29)
var specular_tint_texture: texture_2d<f32>

specular_tint_sampler

#
@group(constants::MATERIAL_BIND_GROUP)
@binding(30)
var specular_tint_sampler: sampler

Structures

StandardMaterialBindings

#
struct StandardMaterialBindings {
material: u32 ,
base_color_texture: u32 ,
base_color_sampler: u32 ,
emissive_texture: u32 ,
emissive_sampler: u32 ,
metallic_roughness_texture: u32 ,
metallic_roughness_sampler: u32 ,
occlusion_texture: u32 ,
occlusion_sampler: u32 ,
normal_map_texture: u32 ,
normal_map_sampler: u32 ,
depth_map_texture: u32 ,
depth_map_sampler: u32 ,
anisotropy_texture: u32 ,
anisotropy_sampler: u32 ,
specular_transmission_texture: u32 ,
specular_transmission_sampler: u32 ,
thickness_texture: u32 ,
thickness_sampler: u32 ,
diffuse_transmission_texture: u32 ,
diffuse_transmission_sampler: u32 ,
clearcoat_texture: u32 ,
clearcoat_sampler: u32 ,
clearcoat_roughness_texture: u32 ,
clearcoat_roughness_sampler: u32 ,
clearcoat_normal_texture: u32 ,
clearcoat_normal_sampler: u32 ,
specular_texture: u32 ,
specular_sampler: u32 ,
specular_tint_texture: u32 ,
specular_tint_sampler: u32 ,
}
Contents