Blender  V3.3
Classes | Typedefs | Functions
id_passes.h File Reference

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 Documentation

◆ IDPassBufferElement

Function Documentation

◆ kernel_cryptomatte_post()

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().

◆ kernel_sort_id_slots()

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().

◆ kernel_write_id_slots()

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