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_sprite::mesh2d_bindings
3#import bevy_sprite::mesh2d_types::Mesh2d
5#ifdef PER_OBJECT_BUFFER_BATCH_SIZE
6@group(1) @binding(0) var<uniform> mesh: array<Mesh2d, #{PER_OBJECT_BUFFER_BATCH_SIZE}u>;
7#else
8@group(1) @binding(0) var<storage> mesh: array<Mesh2d>;
9#endif // PER_OBJECT_BUFFER_BATCH_SIZE
Contents