|
Blender V5.3
|
#include <Python.h>#include "blender/CCL_api.h"#include "blender/device.h"#include "blender/session.h"#include "blender/sync.h"#include "blender/util.h"#include "session/denoising.h"#include "session/merge.h"#include "util/colorspace.h"#include "util/debug.h"#include "util/guiding.h"#include "util/image_maketx.h"#include "util/image_metadata.h"#include "util/log.h"#include "util/openimagedenoise.h"#include "util/path.h"#include "util/string.h"#include "util/task.h"#include "util/types.h"#include "GPU_state.hh"#include "DNA_screen_types.h"#include "scene/osl.h"Go to the source code of this file.
Namespaces | |
| namespace | CCL_NAMESPACE_BEGIN |
Functions | |
| void * | CCL_NAMESPACE_BEGIN::pylong_as_voidptr_typesafe (PyObject *object) |
| PyObject * | CCL_NAMESPACE_BEGIN::pyunicode_from_string (const char *str) |
| void | CCL_NAMESPACE_BEGIN::debug_flags_sync_from_scene (blender::Scene &b_scene) |
| void | CCL_NAMESPACE_BEGIN::debug_flags_reset () |
| static const char * | PyC_UnicodeAsBytes (PyObject *py_str, PyObject **coerce) |
| static PyObject * | init_func (PyObject *, PyObject *args) |
| static PyObject * | exit_func (PyObject *, PyObject *) |
| static PyObject * | create_func (PyObject *, PyObject *args) |
| static PyObject * | free_func (PyObject *, PyObject *value) |
| static PyObject * | render_func (PyObject *, PyObject *args) |
| static PyObject * | render_frame_finish_func (PyObject *, PyObject *args) |
| static PyObject * | draw_func (PyObject *, PyObject *args) |
| static PyObject * | bake_func (PyObject *, PyObject *args) |
| static PyObject * | view_draw_func (PyObject *, PyObject *args) |
| static PyObject * | view_pause_func (PyObject *, PyObject *args) |
| static PyObject * | reset_func (PyObject *, PyObject *args) |
| static PyObject * | sync_func (PyObject *, PyObject *args) |
| static PyObject * | available_devices_func (PyObject *, PyObject *args) |
| static PyObject * | system_info_func (PyObject *, PyObject *) |
| static bool | image_parse_filepaths (PyObject *pyfilepaths, vector< string > &filepaths) |
| static PyObject * | denoise_func (PyObject *, PyObject *args, PyObject *keywords) |
| static PyObject * | merge_func (PyObject *, PyObject *args, PyObject *keywords) |
| static PyObject * | debug_flags_update_func (PyObject *, PyObject *args) |
| static PyObject * | debug_flags_reset_func (PyObject *, PyObject *) |
| static PyObject * | enable_print_stats_func (PyObject *, PyObject *) |
| static PyObject * | get_device_types_func (PyObject *, PyObject *) |
| static PyObject * | set_device_override_func (PyObject *, PyObject *arg) |
| static PyObject * | maketx_func (PyObject *, PyObject *args, PyObject *keywords) |
Variables | |
| bool | CCL_NAMESPACE_BEGIN::debug_flags_set = false |
| static PyMethodDef | methods [] |
| static struct PyModuleDef | module |
|
static |
Definition at line 466 of file python.cpp.
References Device::available_devices(), available_devices_func(), DENOISER_DLSS, DENOISER_OPENIMAGEDENOISE, DENOISER_OPTIX, DeviceInfo::denoisers, DeviceInfo::description, DEVICE_MASK, DEVICE_MASK_ALL, DEVICE_MASK_CPU, DEVICE_NONE, DeviceInfo::has_execution_optimization, DeviceInfo::has_peer_memory, DeviceInfo::id, mask(), DeviceInfo::meets_driver_requirement, Device::string_from_type(), DeviceInfo::type, Device::type_from_string(), and DeviceInfo::use_hardware_raytracing.
Referenced by available_devices_func().
|
static |
Definition at line 316 of file python.cpp.
References BlenderSession::bake(), and bake_func().
Referenced by bake_func().
|
static |
Definition at line 161 of file python.cpp.
References BlenderSession::BlenderSession(), create_func(), blender::ARegion::regiondata, blender::ARegion::winx, and blender::ARegion::winy.
Referenced by create_func().
|
static |
Definition at line 714 of file python.cpp.
References debug_flags_reset_func().
Referenced by debug_flags_reset_func().
|
static |
Definition at line 698 of file python.cpp.
References debug_flags_update_func().
Referenced by debug_flags_update_func().
|
static |
Definition at line 567 of file python.cpp.
References blender_device_info(), denoise_func(), DenoiserPipeline::error, BlenderSync::get_denoise_params(), image_parse_filepaths(), DenoiserPipeline::input, DenoiserPipeline::output, output, DenoiserPipeline::run(), and DenoiseParams::use.
Referenced by denoise_func().
|
static |
Definition at line 279 of file python.cpp.
References BlenderSession::draw(), and draw_func().
Referenced by draw_func().
|
static |
Definition at line 723 of file python.cpp.
References enable_print_stats_func(), and BlenderSession::print_render_stats.
Referenced by enable_print_stats_func().
|
static |
Definition at line 148 of file python.cpp.
References device_metal_exit(), exit_func(), ColorSpaceManager::free_memory(), Device::free_memory(), OSLManager::free_memory(), and TaskScheduler::free_memory().
Referenced by exit_func().
|
static |
|
static |
Definition at line 729 of file python.cpp.
References Device::available_types(), DEVICE_CUDA, DEVICE_HIP, DEVICE_HIPRT, DEVICE_METAL, DEVICE_ONEAPI, DEVICE_OPTIX, and get_device_types_func().
Referenced by get_device_types_func().
|
static |
Definition at line 538 of file python.cpp.
References image_parse_filepaths().
Referenced by denoise_func(), image_parse_filepaths(), and merge_func().
|
static |
Definition at line 119 of file python.cpp.
References BlenderSession::headless, init_func(), path_init(), and PyC_UnicodeAsBytes().
Referenced by ensure_types_initialized(), and init_func().
|
static |
Definition at line 800 of file python.cpp.
References IMAGE_ALPHA_ASSOCIATED, IMAGE_ALPHA_AUTO, IMAGE_ALPHA_CHANNEL_PACKED, IMAGE_ALPHA_IGNORE, IMAGE_ALPHA_UNASSOCIATED, IMAGE_FORMAT_PLAIN, LOG_ERROR, make_tx(), maketx_func(), resolve_tx(), and u_colorspace_auto.
Referenced by maketx_func().
|
static |
Definition at line 655 of file python.cpp.
References ImageMerger::error, image_parse_filepaths(), ImageMerger::input, merge_func(), ImageMerger::output, output, and ImageMerger::run().
Referenced by merge_func().
|
static |
Definition at line 94 of file python.cpp.
References PyC_UnicodeAsBytes().
Referenced by init_func(), and PyC_UnicodeAsBytes().
|
static |
Definition at line 261 of file python.cpp.
References BlenderSession::render_frame_finish(), and render_frame_finish_func().
Referenced by render_frame_finish_func().
|
static |
Definition at line 235 of file python.cpp.
References BlenderSession::render(), and render_func().
Referenced by render_func().
|
static |
Definition at line 410 of file python.cpp.
References reset_func(), and BlenderSession::reset_session().
Referenced by reset_func().
|
static |
Definition at line 756 of file python.cpp.
References DEVICE_MASK_CPU, DEVICE_MASK_CUDA, DEVICE_MASK_HIP, DEVICE_MASK_METAL, DEVICE_MASK_ONEAPI, DEVICE_MASK_OPTIX, BlenderSession::device_override, length(), LOG_ERROR, set_device_override_func(), and string_endswith().
Referenced by set_device_override_func().
|
static |
Definition at line 440 of file python.cpp.
References sync_func(), and BlenderSession::synchronize().
Referenced by sync_func().
|
static |
Definition at line 532 of file python.cpp.
References Device::device_capabilities(), and system_info_func().
Referenced by system_info_func().
|
static |
Definition at line 358 of file python.cpp.
References blender::GPU_viewport_size_get_i(), BlenderSession::view_draw(), and view_draw_func().
Referenced by view_draw_func().
|
static |
Definition at line 393 of file python.cpp.
References BlenderSession::view_pause(), and view_pause_func().
Referenced by view_pause_func().
|
static |
Definition at line 896 of file python.cpp.
|
static |
Definition at line 944 of file python.cpp.
Referenced by load_driver_functions(), load_func(), and unload_driver().