Blender
V3.3
|
Go to the source code of this file.
Classes | |
struct | IDPassBufferElement |
Typedefs | |
typedef CCL_NAMESPACE_BEGIN struct IDPassBufferElement | IDPassBufferElement |
Functions | |
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) |
ccl_device_inline void | kernel_cryptomatte_post (KernelGlobals kg, ccl_global float *render_buffer, int pixel_index) |
typedef CCL_NAMESPACE_BEGIN struct IDPassBufferElement IDPassBufferElement |
ccl_device_inline void kernel_cryptomatte_post | ( | KernelGlobals | kg, |
ccl_global float * | render_buffer, | ||
int | pixel_index | ||
) |
Definition at line 82 of file id_passes.h.
References ccl_global, kernel_data, kernel_sort_id_slots(), pass_stride, and render_buffer.
Referenced by cryptomatte_postprocess().
ccl_device_inline void kernel_sort_id_slots | ( | ccl_global float * | buffer, |
int | num_slots | ||
) |
Definition at line 63 of file id_passes.h.
References buffer, ccl_global, ID_NONE, swap(), x, and y.
Referenced by kernel_cryptomatte_post().
ccl_device_inline void kernel_write_id_slots | ( | ccl_global float * | buffer, |
int | num_slots, | ||
float | id, | ||
float | weight | ||
) |
Definition at line 16 of file id_passes.h.
References atomic_add_and_fetch_float, atomic_compare_and_swap_float, buffer, ccl_global, id, ID_NONE, kernel_assert, and x.
Referenced by kernel_write_id_pass().