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
0.20.0
0.15.0
0.15.1
0.15.2
0.15.3
0.15.4
0.16.0
0.16.1
0.16.2
0.17.0
0.17.1
0.17.2
0.17.3
0.18.0
0.18.1
0.19.0
0.19.1
›
bindings.wesl
Save
Bindings
globals
#
@
group
(
0
)
@
binding
(
0
)
var
<
uniform
>
globals:
Globals
view
#
@
group
(
0
)
@
binding
(
1
)
var
<
uniform
>
view:
View
Structures
VertexOutput
#
struct
VertexOutput
{
@
builtin
(
position
)
position:
vec4
<
f32
>
,
@
location
(
0
)
uv:
vec2
<
f32
>
,
@
location
(
1
)
normal:
vec3
<
f32
>
,
}
PrimitiveInput
#
struct
PrimitiveInput
{
@
per_primitive
(
)
@
location
(
3
)
colorMask:
vec4
<
f32
>
,
}
TaskPayload
#
TaskPayload should be kept very small, if you use it at all.
struct
TaskPayload
{
colorMask:
vec4
<
f32
>
,
}
Contents
Bindings
globals
view
Structures
VertexOutput
PrimitiveInput
TaskPayload
TaskPayload should be kept very small, if you use it at all.