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.
Star
☾
Packages
›
bevy_enoki
0.7.0
›
particle_vertex.wgsl
Save
Bindings
view
#
@
group
(
0
)
@
binding
(
0
)
var
<
uniform
>
view:
View
Structures
VertexIn
#
struct
VertexIn
{
@
builtin
(
vertex_index
)
index:
u32
,
@
location
(
0
)
i_transform:
vec4
<
f32
>,
@
location
(
1
)
i_scale_lifetime:
vec4
<
f32
>,
@
location
(
2
)
i_color:
vec4
<
f32
>,
}
Functions
vertex
#
@vertex
Processes each 3D point in a model before it's drawn
fn
vertex
(
in:
VertexIn
)
->
VertexOutput
Contents
Bindings
view
Structures
VertexIn
Functions
vertex