Vixen
02b45cc4
csharp
public static class VfxAttributes

What each attribute is made of, and how to talk about a set of them.

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

Fields and properties (1)

  • public static ReadOnlySpan<VfxAttribute> All

    Every attribute, in bit order.

Methods (3)

  • public static VfxAttributeType TypeOf(VfxAttribute attribute)

    The type of one attribute.

  • public static int Lanes(VfxAttributeType type)

    How many floats one particle's worth of a type occupies.

  • public static int BytesPerParticle(VfxAttribute set)

    How many bytes one particle's worth of a set occupies.

Used by (3)

  • ParticleBufferVixen.Vfx
  • VfxCompiledGraphVixen.Vfx
  • VfxShaderEmitterVixen.Vfx