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
›
bevy_dev_tools
0.20.0
0.17.0
0.17.1
0.17.2
0.17.3
0.18.0
0.18.1
0.19.0
0.19.1
›
debug_overlay.wesl
Save
Bindings
config
#
@
group
(
1
)
@
binding
(
0
)
var
<
uniform
>
config:
DebugBufferConfig
background_texture
#
@
group
(
1
)
@
binding
(
1
)
var
background_texture:
texture_2d
<
f32
>
background_sampler
#
@
group
(
1
)
@
binding
(
2
)
var
background_sampler:
sampler
depth_pyramid_texture
#
@
group
(
1
)
@
binding
(
3
)
var
depth_pyramid_texture:
texture_2d
<
f32
>
depth_pyramid_sampler
#
@
group
(
1
)
@
binding
(
4
)
var
depth_pyramid_sampler:
sampler
Structures
DebugBufferConfig
#
struct
DebugBufferConfig
{
opacity:
f32
,
mip_level:
u32
,
}
Functions
fragment
#
@fragment
Calculates the final color of each pixel on the screen
fn
fragment
(
@
builtin
(
position
)
frag_coord:
vec4
<
f32
>
)
->
@
location
(
0
)
vec4
<
f32
>
Contents
Bindings
config
background_texture
background_sampler
depth_pyramid_texture
depth_pyramid_sampler
Structures
DebugBufferConfig
Functions
fragment