Blender V4.3
ShaderEval Class Reference

#include <shader_eval.h>

Public Member Functions

 ShaderEval (Device *device, Progress &progress)
bool eval (const ShaderEvalType type, const int max_num_inputs, const int num_channels, const function< int(device_vector< KernelShaderEvalInput > &)> &fill_input, const function< void(device_vector< float > &)> &read_output)

Protected Member Functions

bool eval_cpu (Device *device, const ShaderEvalType type, device_vector< KernelShaderEvalInput > &input, device_vector< float > &output, const int64_t work_size)
bool eval_gpu (Device *device, const ShaderEvalType type, device_vector< KernelShaderEvalInput > &input, device_vector< float > &output, const int64_t work_size)

Protected Attributes

Devicedevice_
Progressprogress_

Detailed Description

Definition at line 25 of file shader_eval.h.

Constructor & Destructor Documentation

◆ ShaderEval()

CCL_NAMESPACE_BEGIN ShaderEval::ShaderEval ( Device * device,
Progress & progress )

Definition at line 19 of file shader_eval.cpp.

References DCHECK_NE, device_, and progress_.

Member Function Documentation

◆ eval()

◆ eval_cpu()

◆ eval_gpu()

Member Data Documentation

◆ device_

Device* ShaderEval::device_
protected

Definition at line 49 of file shader_eval.h.

Referenced by eval(), and ShaderEval().

◆ progress_

Progress& ShaderEval::progress_
protected

Definition at line 50 of file shader_eval.h.

Referenced by eval_cpu(), eval_gpu(), and ShaderEval().


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