Back home 🏡 WGSL Spec Bevy WGSL Functions

gpu_readback.wgsl

Bindings

Name Group Binding index Binding type Type
data # 0 0 <storage, read_write> array<u32>
texture # 0 1 texture_storage_2d<r32uint, write>

Functions

main

#
@compute
fn main(global_id: vec3<u32>)
Parameter Type
global_id vec3<u32>