Blender V5.0
cryptomatte_passes.h File Reference
#include "kernel/globals.h"

Go to the source code of this file.

Classes

struct  CryptoPassBufferElement

Functions

ccl_device_inline void film_write_cryptomatte_slots (ccl_global float *buffer, const int num_slots, const float id, const float weight)
ccl_device_inline void film_sort_cryptomatte_slots (ccl_global float *buffer, const int num_slots)
ccl_device_inline void film_cryptomatte_post (KernelGlobals kg, ccl_global float *render_buffer, const int pixel_index)

Function Documentation

◆ film_cryptomatte_post()

ccl_device_inline void film_cryptomatte_post ( KernelGlobals kg,
ccl_global float * render_buffer,
const int pixel_index )

◆ film_sort_cryptomatte_slots()

ccl_device_inline void film_sort_cryptomatte_slots ( ccl_global float * buffer,
const int num_slots )

Definition at line 66 of file cryptomatte_passes.h.

References ccl_device_inline, ccl_global, i, ID_NONE, swap, x, and y.

Referenced by film_cryptomatte_post().

◆ film_write_cryptomatte_slots()

ccl_device_inline void film_write_cryptomatte_slots ( ccl_global float * buffer,
const int num_slots,
const float id,
const float weight )