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

Vertex

#
Used by 1 shader in bevy_pbr 0.17.3
struct Vertex {
@builtin(instance_index)
instance_index: u32,
@location(0)
position: vec3<f32>, VERTEX_POSITIONS
@location(1)
normal: vec3<f32>, VERTEX_NORMALS
@location(2)
uv: vec2<f32>, VERTEX_UVS_A
@location(3)
uv_b: vec2<f32>, VERTEX_UVS_B
@location(4)
tangent: vec4<f32>, VERTEX_TANGENTS
@location(5)
color: vec4<f32>, VERTEX_COLORS
@location(6)
joint_indices: vec4<u32>, SKINNED
@location(7)
joint_weights: vec4<f32>, SKINNED
@builtin(vertex_index)
index: u32, MORPH_TARGETS
}

VertexOutput

#

FragmentOutput

#
Contents