vfx_init.wgsl
Bindings
@group(1)
@binding(0)
var<storage, read_write>
particle_buffer:
ParticleBuffer
Shader defs requirments:
š¢ READ_PARENT_PARTICLE
@group(1)
@binding(2)
var<storage, read>
parent_particle_buffer:
ParentParticleBuffer
Shader defs requirments:
š¢ CONSUME_GPU_SPAWN_EVENTS
Shader defs requirments:
š¢ CONSUME_GPU_SPAWN_EVENTS
Structures
Functions
Requirements:
- var
@compute
Runs custom parallel code on the GPU, not limited to graphics
@workgroup_size(64)
Defines the size of a thread group. One to three numbers: width (x), height (y), and depth (z). Missing values default to 1
Location of an effect in a slab.