Blender  V2.93
Functions
kernel_id_passes.h File Reference

Go to the source code of this file.

Functions

CCL_NAMESPACE_BEGIN ccl_device_inline void kernel_write_id_slots (ccl_global float *buffer, int num_slots, float id, float weight)
 
ccl_device_inline void kernel_sort_id_slots (ccl_global float *buffer, int num_slots)
 

Function Documentation

◆ kernel_sort_id_slots()

ccl_device_inline void kernel_sort_id_slots ( ccl_global float buffer,
int  num_slots 
)

Definition at line 66 of file kernel_id_passes.h.

References buffer, ccl_global, ID_NONE, swap(), x, and y.

Referenced by kernel_buffer_update().

◆ kernel_write_id_slots()

CCL_NAMESPACE_BEGIN ccl_device_inline void kernel_write_id_slots ( ccl_global float buffer,
int  num_slots,
float  id,
float  weight 
)