public readonly record struct VfxShaderBindingOne storage buffer the emitted shader expects the host to bind.
No guide page documents this yet — the page shows what the code says about itself.
Fields and properties (6)
public string NameThe name it is declared under, which is what the reflection reports.
public VfxAttribute AttributeWhich attribute it holds.
public int StrideHow many bytes one particle occupies in it, under std430.
public bool IsWrittenWhether a kernel stores into it. A buffer nothing writes is declared read-only, which is one access decoration and lets a driver hoist a load out of a loop.
public int SlotWhich custom attribute this is, or -1 for a built-in. The graph assigned it, so a host that knows the graph knows which buffer it is binding without matching on the name.
public VfxBindingRole RoleWhat it is for. A Compacted binding mirrors the Particle one of the same attribute exactly, so anything sizing or packing a buffer can treat the two the same and only a host binding them has to care.
Methods (1)
public VfxShaderBinding(string Name, VfxAttribute Attribute, int Stride, bool IsWritten, int Slot = -1, VfxBindingRole Role = Particle)One storage buffer the emitted shader expects the host to bind.
Used by (7)
- VfxCustomAttributeTestsVixen.Vfx.Tests
- VfxGpuSimulationVixen.Rendering
- VfxShaderVixen.Vfx
- VfxShaderEmitterVixen.Vfx
- VfxShaderEmitterTestsVixen.Vfx.Tests
- VfxShaderPackingVixen.Vfx
- VfxShaderUniformTestsVixen.Vfx.Tests