Module rs_pbrt::blockqueue
source · [−]Expand description
Provides a queue of block indices that the sampler positions can be initialized from for the worker threads. The queue itself is not changed after creation we simply work through it with an atomic counter to track the index of the next block to work on.
Structs
The queue of blocks to be worked on shared immutably between worker threads.
Iterator to work through the queue safely