Blender V4.3
CPUKernels Class Reference

#include <kernel.h>

Public Types

using IntegratorFunction
using IntegratorShadeFunction
using IntegratorInitFunction
using ShaderEvalFunction
using AdaptiveSamplingConvergenceCheckFunction
using AdaptiveSamplingFilterXFunction
using AdaptiveSamplingFilterYFunction
using CryptomattePostprocessFunction
using FilmConvertFunction
using FilmConvertHalfRGBAFunction

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
IntegratorFunction integrator_intersect_dedicated_light
IntegratorShadeFunction integrator_shade_background
IntegratorShadeFunction integrator_shade_light
IntegratorShadeFunction integrator_shade_shadow
IntegratorShadeFunction integrator_shade_surface
IntegratorShadeFunction integrator_shade_volume
IntegratorShadeFunction integrator_shade_dedicated_light
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 18 of file device/cpu/kernel.h.

Member Typedef Documentation

◆ AdaptiveSamplingConvergenceCheckFunction

Initial value:
CPUKernelFunction<bool (*)(const KernelGlobalsCPU *kg,
int x,
int y,
float threshold,
int reset,
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 57 of file device/cpu/kernel.h.

◆ AdaptiveSamplingFilterXFunction

Initial value:
CPUKernelFunction<void (*)(const KernelGlobalsCPU *kg,
int y,
int start_x,
int width,
int offset,
int stride)>

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

◆ AdaptiveSamplingFilterYFunction

Initial value:
CPUKernelFunction<void (*)(const KernelGlobalsCPU *kg,
int x,
int start_y,
int height,
int offset,
int stride)>

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

◆ CryptomattePostprocessFunction

Initial value:
const KernelGlobalsCPU *kg, ccl_global float *render_buffer, 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:61

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

◆ IntegratorFunction

Initial value:

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

◆ IntegratorInitFunction

Initial value:

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

◆ IntegratorShadeFunction

Initial value:

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

◆ ShaderEvalFunction

Initial value:
const KernelGlobalsCPU *kg, const KernelShaderEvalInput *, float *, const int)>
draw_view push_constant(Type::INT, "radiance_src") .push_constant(Type capture_info_buf storage_buf(1, Qualifier::READ, "ObjectBounds", "bounds_buf[]") .push_constant(Type draw_view int

Definition at line 48 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 85 of file device/cpu/kernel.h.

Referenced by CPUKernels().

◆ adaptive_sampling_filter_x

AdaptiveSamplingFilterXFunction CPUKernels::adaptive_sampling_filter_x

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

Referenced by CPUKernels().

◆ adaptive_sampling_filter_y

AdaptiveSamplingFilterYFunction CPUKernels::adaptive_sampling_filter_y

Definition at line 88 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_intersect_closest

IntegratorShadeFunction CPUKernels::integrator_intersect_closest

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

Referenced by CPUKernels().

◆ integrator_intersect_dedicated_light

IntegratorFunction CPUKernels::integrator_intersect_dedicated_light

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

Referenced by CPUKernels().

◆ integrator_intersect_shadow

IntegratorFunction CPUKernels::integrator_intersect_shadow

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

Referenced by CPUKernels().

◆ integrator_intersect_subsurface

IntegratorFunction CPUKernels::integrator_intersect_subsurface

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

Referenced by CPUKernels().

◆ integrator_intersect_volume_stack

IntegratorFunction CPUKernels::integrator_intersect_volume_stack

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

Referenced by CPUKernels().

◆ integrator_megakernel

IntegratorShadeFunction CPUKernels::integrator_megakernel

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

Referenced by CPUKernels().

◆ integrator_shade_background

IntegratorShadeFunction CPUKernels::integrator_shade_background

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

Referenced by CPUKernels().

◆ integrator_shade_dedicated_light

IntegratorShadeFunction CPUKernels::integrator_shade_dedicated_light

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

Referenced by CPUKernels().

◆ integrator_shade_light

IntegratorShadeFunction CPUKernels::integrator_shade_light

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

Referenced by CPUKernels().

◆ integrator_shade_shadow

IntegratorShadeFunction CPUKernels::integrator_shade_shadow

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

Referenced by CPUKernels().

◆ integrator_shade_surface

IntegratorShadeFunction CPUKernels::integrator_shade_surface

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

Referenced by CPUKernels().

◆ integrator_shade_volume

IntegratorShadeFunction CPUKernels::integrator_shade_volume

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

Referenced by CPUKernels().

◆ shader_eval_background

ShaderEvalFunction CPUKernels::shader_eval_background

Definition at line 52 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 53 of file device/cpu/kernel.h.

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

◆ shader_eval_displace

ShaderEvalFunction CPUKernels::shader_eval_displace

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

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


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