Back home 🏡 WGSL Spec Bevy WGSL Functions

mesh2d_bindings.wgsl

Import path

Bindings

Name Group Binding index Binding type Type Shader Def
mesh # 1 0 <uniform> array<Mesh2d, #{PER_OBJECT_BUFFER_BATCH_SIZE}u> 🟢 PER_OBJECT_BUFFER_BATCH_SIZE
mesh # 1 0 <storage> array<Mesh2d> 🔴 PER_OBJECT_BUFFER_BATCH_SIZE