Struct CUDAScanCompactionPtrs

Struct Documentation

struct flamegpu::CUDAScanCompactionPtrs

A pair of device buffers for performing scan/compaction operations

Public Members

unsigned int *scan_flag = nullptr

Array to mark whether an item is to be retained

unsigned int *position = nullptr

scan_flag is exclusive summed into this array if messages are optional