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.

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