Advanced search tips: use spaces to require multiple terms (AND), | for alternatives (OR), wrap phrases in quotes (="a b"), =term for exact match, 'term to include, !term to exclude, ^term to match prefix, !^term to exclude prefix, .ext$ to match suffix, and !.ext$ to exclude suffix.

mesh2d_vertex_output.wgsl

Import path

Structures

VertexOutput

#
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
}