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_sprite
0.15.3
0.15.0
0.15.1
0.15.2
›
mesh2d_vertex_output.wgsl
Copy import path
Save
Structures
VertexOutput
#
Copy import statement
Used by 4 shaders
bevy 0.15.3 — custom_material_2d.wgsl
bevy_sprite 0.15.3 — color_material.wgsl
bevy_sprite 0.15.3 — mesh2d.wgsl
bevy_sprite 0.15.3 — wireframe2d.wgsl
struct
VertexOutput
{
@
builtin
(
position
)
position:
vec4
<
f32
>,
@
location
(
0
)
world_position:
vec4
<
f32
>,
@
location
(
1
)
world_normal:
vec3
<
f32
>,
@
location
(
2
)
uv:
vec2
<
f32
>,
@
location
(
3
)
world_tangent:
vec4
<
f32
>,
VERTEX_TANGENTS
@
location
(
4
)
color:
vec4
<
f32
>,
VERTEX_COLORS
}
Contents
Structures
VertexOutput