Declaration ​
pascal
TSwizzlingRasterizer = class(TRasterizer)Description ​
TSwizzlingRasterizer samples pixels in a non-linear order determined by a space-filling fractal curve known as swizzling (related to Z-order / Morton curve traversal and the Sierpinski fractal curve).
Sampling along fractal swizzled space curves ensures that spatially adjacent destination pixels are sampled close together in time. This spatial coherency can significantly increase CPU data cache hit rates when sampling complex mathematical surfaces or textures with localized memory access patterns.