Blender V5.3
eevee::surfel::list::flatten Namespace Reference

Classes

struct  Resources

Functions

void flatten_comp (Resources &srt, SurfelData &surfels, const uint3 global_id)

Function Documentation

◆ flatten_comp()

void eevee::surfel::list::flatten::flatten_comp ( Resources & srt,
SurfelData & surfels,
const uint3 global_id )

Flatten surfel sorting data into a sequential structure. The buffer structure follows the lists OffsetIndices.

Dispatched as 1 thread per surfel.

Definition at line 140 of file eevee_surfel_list.bsl.hh.

References atomicAdd(), flatten_comp(), global_invocation_id, and resource_table.

Referenced by flatten_comp().