Blender  V2.93
Macros | Functions
kernel_passes.h File Reference
#include "kernel/kernel_id_passes.h"

Go to the source code of this file.

Macros

#define WRITE_ID_SLOT(buffer, depth, id, matte_weight, name)    kernel_write_id_slots_gpu(buffer, depth * 2, id, matte_weight)
 

Functions

ccl_device_inline size_t kernel_write_id_slots_gpu (ccl_global float *buffer, size_t depth, float id, float matte_weight)
 
ccl_device_inline void kernel_write_data_passes (KernelGlobals *kg, ccl_global float *buffer, PathRadiance *L, ShaderData *sd, ccl_addr_space PathState *state, float3 throughput)
 
ccl_device_inline void kernel_write_light_passes (KernelGlobals *kg, ccl_global float *buffer, PathRadiance *L)
 
ccl_device_inline void kernel_write_result (KernelGlobals *kg, ccl_global float *buffer, int sample, PathRadiance *L)
 

Macro Definition Documentation

◆ WRITE_ID_SLOT

#define WRITE_ID_SLOT (   buffer,
  depth,
  id,
  matte_weight,
  name 
)     kernel_write_id_slots_gpu(buffer, depth * 2, id, matte_weight)

Definition at line 161 of file kernel_passes.h.

Function Documentation

◆ kernel_write_data_passes()

ccl_device_inline void kernel_write_data_passes ( KernelGlobals *  kg,
ccl_global float buffer,
PathRadiance L,
ShaderData sd,
ccl_addr_space PathState state,
float3  throughput 
)

◆ kernel_write_id_slots_gpu()

ccl_device_inline size_t kernel_write_id_slots_gpu ( ccl_global float buffer,
size_t  depth,
float  id,
float  matte_weight 
)

Definition at line 163 of file kernel_passes.h.

References buffer, and kernel_write_id_slots().

◆ kernel_write_light_passes()

ccl_device_inline void kernel_write_light_passes ( KernelGlobals *  kg,
ccl_global float buffer,
PathRadiance L 
)

◆ kernel_write_result()

ccl_device_inline void kernel_write_result ( KernelGlobals *  kg,
ccl_global float buffer,
int  sample,
PathRadiance L 
)