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.
1#define_import_path bevy_pbr::mesh_vertex_output
3struct MeshVertexOutput {
4 @location(0) world_position: vec4<f32>,
5 @location(1) world_normal: vec3<f32>,
6 #ifdef VERTEX_UVS
7 @location(2) uv: vec2<f32>,
8 #endif
9 #ifdef VERTEX_TANGENTS
10 @location(3) world_tangent: vec4<f32>,
11 #endif
12 #ifdef VERTEX_COLORS
13 @location(4) color: vec4<f32>,
14 #endif
Contents