Vixen
02b45cc4
csharp
public enum VfxBindingRole

What a bound buffer is for.

No guide page documents this yet — the page shows what the code says about itself.

Remarks

⚠ The reap kernel reads one set of buffers and writes another, which is why this exists at all. Compacting in place is not something a dispatch can do: a survivor claims its destination slot with an atomic, so two invocations can be handed slots in either order and one of them would overwrite a particle the other has not read yet. Every other kernel here reads and writes one particle's own slot and needs no second buffer.

Fields and properties (3)

  • Particle

    The particles themselves — what an update reads and writes, and what a draw draws.

  • Compacted

    Where the reap kernel puts the survivors.

  • Counter

    The one uint the survivors count themselves into.

Used by (4)

  • VfxGpuSimulationVixen.Rendering
  • VfxShaderBindingVixen.Vfx
  • VfxShaderEmitterVixen.Vfx
  • VfxShaderEmitterTestsVixen.Vfx.Tests