#define_import_path bevy_pbr::mesh_types struct Mesh { model: mat4x4, inverse_transpose_model: mat4x4, // 'flags' is a bit field indicating various options. u32 is 32 bits so we have up to 32 options. flags: u32, }; #ifdef SKINNED struct SkinnedMesh { data: array, 256u>, }; #endif const MESH_FLAGS_SHADOW_RECEIVER_BIT: u32 = 1u;