1struct Mesh2d {2 /// Affine 4x3 matrix transposed to 3x43 /// Use bevy_render::maths::affine3_to_square to unpack4 world_from_local: mat3x4<f32>,5 /// 3x3 matrix packed in mat2x4 and f32 as:6 /// [0].xyz, [1].x,7 /// [1].yz, [2].xy8 /// [2].z9 /// Use bevy_render::maths::mat2x4_f32_to_mat3x3_unpack to unpack10 local_from_world_transpose_a: mat2x4<f32>,11 local_from_world_transpose_b: f32,12 /// 'flags' is a bit field indicating various options. u32 is 32 bits so we have up to 32 options.13 flags: u32,14 /// Index of the material in the bind group data.15 material_bind_group_slot: u32,16 tag: u32,17 /// The index of the mesh metadata buffer.18 metadata_index: u32,19};