Blender  V3.3
Public Types | Public Member Functions | Public Attributes | List of all members
CPUKernels Class Reference

#include <kernel.h>

Public Types

using IntegratorFunction = CPUKernelFunction< void(*)(const KernelGlobalsCPU *kg, IntegratorStateCPU *state)>
 
using IntegratorShadeFunction = CPUKernelFunction< void(*)(const KernelGlobalsCPU *kg, IntegratorStateCPU *state, ccl_global float *render_buffer)>
 
using IntegratorInitFunction = CPUKernelFunction< bool(*)(const KernelGlobalsCPU *kg, IntegratorStateCPU *state, KernelWorkTile *tile, ccl_global float *render_buffer)>
 
using ShaderEvalFunction = CPUKernelFunction< void(*)(const KernelGlobalsCPU *kg, const KernelShaderEvalInput *, float *, const int)>
 
using AdaptiveSamplingConvergenceCheckFunction = CPUKernelFunction< bool(*)(const KernelGlobalsCPU *kg, ccl_global float *render_buffer, int x, int y, float threshold, bool reset, int offset, int stride)>
 
using AdaptiveSamplingFilterXFunction = CPUKernelFunction< void(*)(const KernelGlobalsCPU *kg, ccl_global float *render_buffer, int y, int start_x, int width, int offset, int stride)>
 
using AdaptiveSamplingFilterYFunction = CPUKernelFunction< void(*)(const KernelGlobalsCPU *kg, ccl_global float *render_buffer, int x, int start_y, int height, int offset, int stride)>
 
using CryptomattePostprocessFunction = CPUKernelFunction< void(*)(const KernelGlobalsCPU *kg, ccl_global float *render_buffer, int pixel_index)>
 
using FilmConvertFunction = CPUKernelFunction< void(*)(const KernelFilmConvert *kfilm_convert, const float *buffer, float *pixel, const int width, const int buffer_stride, const int pixel_stride)>
 
using FilmConvertHalfRGBAFunction = CPUKernelFunction< void(*)(const KernelFilmConvert *kfilm_convert, const float *buffer, half4 *pixel, const int width, const int buffer_stride)>
 

Public Member Functions

 CPUKernels ()
 

Public Attributes

IntegratorInitFunction integrator_init_from_camera
 
IntegratorInitFunction integrator_init_from_bake
 
IntegratorShadeFunction integrator_intersect_closest
 
IntegratorFunction integrator_intersect_shadow
 
IntegratorFunction integrator_intersect_subsurface
 
IntegratorFunction integrator_intersect_volume_stack
 
IntegratorShadeFunction integrator_shade_background
 
IntegratorShadeFunction integrator_shade_light
 
IntegratorShadeFunction integrator_shade_shadow
 
IntegratorShadeFunction integrator_shade_surface
 
IntegratorShadeFunction integrator_shade_volume
 
IntegratorShadeFunction integrator_megakernel
 
ShaderEvalFunction shader_eval_displace
 
ShaderEvalFunction shader_eval_background
 
ShaderEvalFunction shader_eval_curve_shadow_transparency
 
AdaptiveSamplingConvergenceCheckFunction adaptive_sampling_convergence_check
 
AdaptiveSamplingFilterXFunction adaptive_sampling_filter_x
 
AdaptiveSamplingFilterYFunction adaptive_sampling_filter_y
 
CryptomattePostprocessFunction cryptomatte_postprocess
 

Detailed Description

Definition at line 17 of file device/cpu/kernel.h.

Member Typedef Documentation

◆ AdaptiveSamplingConvergenceCheckFunction

Definition at line 54 of file device/cpu/kernel.h.

◆ AdaptiveSamplingFilterXFunction

Definition at line 64 of file device/cpu/kernel.h.

◆ AdaptiveSamplingFilterYFunction

Definition at line 73 of file device/cpu/kernel.h.

◆ CryptomattePostprocessFunction

Definition at line 89 of file device/cpu/kernel.h.

◆ FilmConvertFunction

using CPUKernels::FilmConvertFunction = CPUKernelFunction<void (*)(const KernelFilmConvert *kfilm_convert, const float *buffer, float *pixel, const int width, const int buffer_stride, const int pixel_stride)>

Definition at line 95 of file device/cpu/kernel.h.

◆ FilmConvertHalfRGBAFunction

using CPUKernels::FilmConvertHalfRGBAFunction = CPUKernelFunction<void (*)(const KernelFilmConvert *kfilm_convert, const float *buffer, half4 *pixel, const int width, const int buffer_stride)>

Definition at line 101 of file device/cpu/kernel.h.

◆ IntegratorFunction

Definition at line 21 of file device/cpu/kernel.h.

◆ IntegratorInitFunction

Definition at line 25 of file device/cpu/kernel.h.

◆ IntegratorShadeFunction

Definition at line 23 of file device/cpu/kernel.h.

◆ ShaderEvalFunction

Definition at line 45 of file device/cpu/kernel.h.

Constructor & Destructor Documentation

◆ CPUKernels()

CPUKernels::CPUKernels ( )

Definition at line 20 of file device/cpu/kernel.cpp.

Member Data Documentation

◆ adaptive_sampling_convergence_check

AdaptiveSamplingConvergenceCheckFunction CPUKernels::adaptive_sampling_convergence_check

◆ adaptive_sampling_filter_x

AdaptiveSamplingFilterXFunction CPUKernels::adaptive_sampling_filter_x

◆ adaptive_sampling_filter_y

AdaptiveSamplingFilterYFunction CPUKernels::adaptive_sampling_filter_y

◆ cryptomatte_postprocess

CryptomattePostprocessFunction CPUKernels::cryptomatte_postprocess

Definition at line 92 of file device/cpu/kernel.h.

Referenced by PathTraceWorkCPU::cryptomatte_postproces().

◆ integrator_init_from_bake

IntegratorInitFunction CPUKernels::integrator_init_from_bake

Definition at line 31 of file device/cpu/kernel.h.

Referenced by PathTraceWorkCPU::render_samples_full_pipeline().

◆ integrator_init_from_camera

IntegratorInitFunction CPUKernels::integrator_init_from_camera

◆ integrator_intersect_closest

IntegratorShadeFunction CPUKernels::integrator_intersect_closest

Definition at line 32 of file device/cpu/kernel.h.

◆ integrator_intersect_shadow

IntegratorFunction CPUKernels::integrator_intersect_shadow

Definition at line 33 of file device/cpu/kernel.h.

◆ integrator_intersect_subsurface

IntegratorFunction CPUKernels::integrator_intersect_subsurface

Definition at line 34 of file device/cpu/kernel.h.

◆ integrator_intersect_volume_stack

IntegratorFunction CPUKernels::integrator_intersect_volume_stack

Definition at line 35 of file device/cpu/kernel.h.

◆ integrator_megakernel

IntegratorShadeFunction CPUKernels::integrator_megakernel

Definition at line 41 of file device/cpu/kernel.h.

Referenced by PathTraceWorkCPU::render_samples_full_pipeline().

◆ integrator_shade_background

IntegratorShadeFunction CPUKernels::integrator_shade_background

Definition at line 36 of file device/cpu/kernel.h.

◆ integrator_shade_light

IntegratorShadeFunction CPUKernels::integrator_shade_light

Definition at line 37 of file device/cpu/kernel.h.

◆ integrator_shade_shadow

IntegratorShadeFunction CPUKernels::integrator_shade_shadow

Definition at line 38 of file device/cpu/kernel.h.

◆ integrator_shade_surface

IntegratorShadeFunction CPUKernels::integrator_shade_surface

Definition at line 39 of file device/cpu/kernel.h.

◆ integrator_shade_volume

IntegratorShadeFunction CPUKernels::integrator_shade_volume

Definition at line 40 of file device/cpu/kernel.h.

◆ shader_eval_background

ShaderEvalFunction CPUKernels::shader_eval_background

Definition at line 49 of file device/cpu/kernel.h.

Referenced by ShaderEval::eval_cpu().

◆ shader_eval_curve_shadow_transparency

ShaderEvalFunction CPUKernels::shader_eval_curve_shadow_transparency

Definition at line 50 of file device/cpu/kernel.h.

Referenced by ShaderEval::eval_cpu().

◆ shader_eval_displace

ShaderEvalFunction CPUKernels::shader_eval_displace

Definition at line 48 of file device/cpu/kernel.h.

Referenced by ShaderEval::eval_cpu().


The documentation for this class was generated from the following files: