Back home 🏡 WGSL Spec Bevy WGSL Functions

fallback_image_test.wgsl

Bindings

Name Group Binding index Binding type Type
test_texture_1d # 2 0 texture_1d<f32>
test_texture_1d_sampler # 2 1 sampler
test_texture_2d # 2 2 texture_2d<f32>
test_texture_2d_sampler # 2 3 sampler
test_texture_2d_array # 2 4 texture_2d_array<f32>
test_texture_2d_array_sampler # 2 5 sampler
test_texture_cube # 2 6 texture_cube<f32>
test_texture_cube_sampler # 2 7 sampler
test_texture_cube_array # 2 8 texture_cube_array<f32>
test_texture_cube_array_sampler # 2 9 sampler
test_texture_3d # 2 10 texture_3d<f32>
test_texture_3d_sampler # 2 11 sampler

Functions

fragment

#
@fragment
fn fragment(in: VertexOutput)
Parameter Type
in VertexOutput