public struct IrradianceRepairJobOne brick to repair, laid out as IrradianceRepair.rvn's IrradianceRepairJob.
No guide page documents this yet — the page shows what the code says about itself.
Remarks
The same first three members as IrradianceFillJob and one more, which is why they are two types rather than one: the size is what tells a same-size neighbour from a coarser one, and a fill has no use for it. It lands in the padding std430 left after the spacing, so both are forty-eight bytes — a coincidence worth *not* relying on, which is why a test asserts each against its own reflection.
Fields and properties (5)
public const int StrideHow many bytes from one job to the next.
public Int3 OriginWhere the brick's footprint starts in the pool, in texels.
public Vector3 PositionWhere its probe (0, 0, 0) stands, in world space.
public Vector3 SpacingHow far apart its probes are.
public float SizeHow many finest cells across it is. Zero is padding, which the shader skips.
Used by (2)
- IrradianceFieldRepairVixen.Rendering
- IrradianceFillJobTestsVixen.Rendering.Tests