bevy/crates/bevy_pbr/src/render/mesh_bindings.wgsl

12 lines
235 B
WebGPU Shading Language
Raw Normal View History

2022-05-31 23:23:25 +00:00
#define_import_path bevy_pbr::mesh_bindings
#import bevy_pbr::mesh_types
@group(2) @binding(0)
2022-05-31 23:23:25 +00:00
var<uniform> mesh: Mesh;
#ifdef SKINNED
@group(2) @binding(1)
2022-05-31 23:23:25 +00:00
var<uniform> joint_matrices: SkinnedMesh;
#import bevy_pbr::skinning
#endif