Bevy Shader Explorer
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.
☾
Packages
›
naga_oil
0.22.0
›
top.wgsl
Save
Bindings
s
#
@
group
(
0
)
@
binding
(
0
)
var
s:
sampler
tex
#
@
group
(
0
)
@
binding
(
2
)
var
tex:
texture_2d
<
f32
>
ro_buffer
#
@
group
(
1
)
@
binding
(
0
)
var
<
storage, read
>
ro_buffer:
array
<
f32
, 4>
Functions
main
#
@fragment
Calculates the final color of each pixel on the screen
fn
main
(
@
builtin
(
position
)
p:
vec4f
)
->
@
location
(
0
)
vec4f
Contents
Bindings
s
tex
ro_buffer
Functions
main