Blender V4.5
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_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

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 46 of file device/cpu/kernel.h.

◆ AdaptiveSamplingFilterXFunction

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

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

◆ AdaptiveSamplingFilterYFunction

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.

◆ CryptomattePostprocessFunction

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

Definition at line 81 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 87 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 93 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:
const ThreadKernelGlobalsCPU *kg, const KernelShaderEvalInput *, float *, const int)>

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

Constructor & Destructor Documentation

◆ CPUKernels()

CPUKernels::CPUKernels ( )

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

Referenced by PathTraceWorkCPU::cryptomatte_postproces().

◆ integrator_init_from_bake

IntegratorInitFunction CPUKernels::integrator_init_from_bake

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

Referenced by PathTraceWorkCPU::render_samples_full_pipeline().

◆ integrator_init_from_camera

IntegratorInitFunction CPUKernels::integrator_init_from_camera

◆ integrator_megakernel

IntegratorShadeFunction CPUKernels::integrator_megakernel

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

Referenced by PathTraceWorkCPU::render_samples_full_pipeline().

◆ shader_eval_background

ShaderEvalFunction CPUKernels::shader_eval_background

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

Referenced by ShaderEval::eval_cpu().

◆ shader_eval_displace

ShaderEvalFunction CPUKernels::shader_eval_displace

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

Referenced by ShaderEval::eval_cpu().


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