Blender V5.0
CPUKernels Class Reference

#include <kernel.h>

Public Types

using IntegratorFunction
using IntegratorShadeFunction
using IntegratorInitFunction
using ShaderEvalFunction
using AdaptiveSamplingConvergenceCheckFunction
using FilterXFunction
using FilterYFunction
using CryptomattePostprocessFunction
using FilmConvertFunction
using FilmConvertHalfRGBAFunction

Public Member Functions

 CPUKernels ()

Public Attributes

IntegratorInitFunction integrator_init_from_camera
IntegratorInitFunction integrator_init_from_bake
IntegratorShadeFunction integrator_megakernel
ShaderEvalFunction shader_eval_displace
ShaderEvalFunction shader_eval_background
ShaderEvalFunction shader_eval_curve_shadow_transparency
ShaderEvalFunction shader_eval_volume_density
AdaptiveSamplingConvergenceCheckFunction adaptive_sampling_convergence_check
FilterXFunction adaptive_sampling_filter_x
FilterYFunction adaptive_sampling_filter_y
CPUKernelFunction< void(*)(const ThreadKernelGlobalsCPU *kg, ccl_global float *render_buffer, const int y, const int center_x, const int min_x, const int max_x, const int offset, int stride)> volume_guiding_filter_x
FilterYFunction volume_guiding_filter_y
CryptomattePostprocessFunction cryptomatte_postprocess

Detailed Description

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

Member Typedef Documentation

◆ AdaptiveSamplingConvergenceCheckFunction

Initial value:
const int x,
const int y,
const float threshold,
const int reset,
const int offset,
int stride)>
void reset()
clear internal cached data and reset random seed
#define ccl_global
ccl_gpu_kernel_postfix ccl_global KernelWorkTile const int ccl_global float * render_buffer

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

◆ CryptomattePostprocessFunction

Initial value:
const ThreadKernelGlobalsCPU *kg, ccl_global float *render_buffer, const int pixel_index)>

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

◆ FilmConvertFunction

Initial value:
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 98 of file device/cpu/kernel.h.

◆ FilmConvertHalfRGBAFunction

Initial value:
CPUKernelFunction<void (*)(const KernelFilmConvert *kfilm_convert,
const float *buffer,
half4 *pixel,
const int width,
const int buffer_stride)>
Definition half.h:60

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

◆ FilterXFunction

Initial value:
const int y,
const int start_x,
const int width,
const int offset,
int stride)>

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

◆ FilterYFunction

Initial value:
const int x,
const int start_y,
const int height,
const int offset,
int stride)>

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

◆ IntegratorFunction

Initial value:

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

◆ IntegratorInitFunction

Initial value:

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

◆ IntegratorShadeFunction

◆ ShaderEvalFunction

Initial value:

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

Constructor & Destructor Documentation

◆ CPUKernels()

Member Data Documentation

◆ adaptive_sampling_convergence_check

AdaptiveSamplingConvergenceCheckFunction CPUKernels::adaptive_sampling_convergence_check

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

Referenced by CPUKernels().

◆ adaptive_sampling_filter_x

FilterXFunction CPUKernels::adaptive_sampling_filter_x

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

Referenced by CPUKernels().

◆ adaptive_sampling_filter_y

FilterYFunction CPUKernels::adaptive_sampling_filter_y

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

Referenced by CPUKernels().

◆ cryptomatte_postprocess

CryptomattePostprocessFunction CPUKernels::cryptomatte_postprocess

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

Referenced by CPUKernels().

◆ integrator_init_from_bake

IntegratorInitFunction CPUKernels::integrator_init_from_bake

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

Referenced by CPUKernels().

◆ integrator_init_from_camera

IntegratorInitFunction CPUKernels::integrator_init_from_camera

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

Referenced by CPUDevice::CPUDevice(), and CPUKernels().

◆ integrator_megakernel

IntegratorShadeFunction CPUKernels::integrator_megakernel

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

Referenced by CPUKernels().

◆ shader_eval_background

ShaderEvalFunction CPUKernels::shader_eval_background

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

Referenced by CPUKernels(), and ShaderEval::eval_cpu().

◆ shader_eval_curve_shadow_transparency

ShaderEvalFunction CPUKernels::shader_eval_curve_shadow_transparency

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

Referenced by CPUKernels(), and ShaderEval::eval_cpu().

◆ shader_eval_displace

ShaderEvalFunction CPUKernels::shader_eval_displace

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

Referenced by CPUKernels(), and ShaderEval::eval_cpu().

◆ shader_eval_volume_density

ShaderEvalFunction CPUKernels::shader_eval_volume_density

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

Referenced by CPUKernels(), and ShaderEval::eval_cpu().

◆ volume_guiding_filter_x

CPUKernelFunction<void (*)(const ThreadKernelGlobalsCPU *kg, ccl_global float *render_buffer, const int y, const int center_x, const int min_x, const int max_x, const int offset, int stride)> CPUKernels::volume_guiding_filter_x

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

Referenced by CPUKernels().

◆ volume_guiding_filter_y

FilterYFunction CPUKernels::volume_guiding_filter_y

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

Referenced by CPUKernels().


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