|
Blender V4.3
|
#include "MEM_guardedalloc.h"#include "RNA_access.hh"#include "RNA_blender_cpp.hh"#include "RNA_types.hh"#include "device/device.h"Go to the source code of this file.
Functions | |
| CCL_NAMESPACE_BEGIN int | blender_device_threads (BL::Scene &b_scene) |
| DeviceInfo | blender_device_info (BL::Preferences &b_preferences, BL::Scene &b_scene, bool background, bool preview, DeviceInfo &preferences_device) |
| DeviceInfo blender_device_info | ( | BL::Preferences & | b_preferences, |
| BL::Scene & | b_scene, | ||
| bool | background, | ||
| bool | preview, | ||
| DeviceInfo & | preferences_device ) |
Definition at line 91 of file blender/device.cpp.
References adjust_device_info(), Device::available_devices(), blender_device_threads(), COMPUTE_DEVICE_CPU, COMPUTE_DEVICE_CUDA, COMPUTE_DEVICE_HIP, COMPUTE_DEVICE_METAL, COMPUTE_DEVICE_NUM, COMPUTE_DEVICE_ONEAPI, COMPUTE_DEVICE_OPTIX, DEVICE_MASK_ALL, DEVICE_MASK_CPU, DEVICE_MASK_CUDA, DEVICE_MASK_HIP, DEVICE_MASK_METAL, DEVICE_MASK_ONEAPI, DEVICE_MASK_OPTIX, BlenderSession::device_override, Device::dummy_device(), get_boolean(), get_enum(), Device::get_multi_device(), get_string(), DeviceInfo::id, RNA_BEGIN, RNA_END, and RNA_pointer_get().
Referenced by denoise_func(), and BlenderSync::get_session_params().
| CCL_NAMESPACE_BEGIN int blender_device_threads | ( | BL::Scene & | b_scene | ) |
Definition at line 24 of file blender/device.cpp.
Referenced by blender_device_info(), and BlenderSync::get_session_params().