mirror of
https://github.com/bevyengine/bevy
synced 2025-01-20 00:55:10 +00:00
12 lines
241 B
WebGPU Shading Language
12 lines
241 B
WebGPU Shading Language
|
#define_import_path bevy_pbr::mesh_bindings
|
||
|
|
||
|
#import bevy_pbr::mesh_types
|
||
|
|
||
|
[[group(2), binding(0)]]
|
||
|
var<uniform> mesh: Mesh;
|
||
|
#ifdef SKINNED
|
||
|
[[group(2), binding(1)]]
|
||
|
var<uniform> joint_matrices: SkinnedMesh;
|
||
|
#import bevy_pbr::skinning
|
||
|
#endif
|