|
Blender V5.0
|
Classes | |
| struct | TextureInterpolator |
| class | ShaderNodeBuilder |
| class | ShaderGraphBuilder |
| class | ScopedMockLog |
Functions | |
| void * | pylong_as_voidptr_typesafe (PyObject *object) |
| PyObject * | pyunicode_from_string (const char *str) |
| void | debug_flags_sync_from_scene (BL::Scene b_scene) |
| void | debug_flags_reset () |
| ccl_device_inline float | frac (const float x, int *ix) |
| ccl_device float4 | kernel_tex_image_interp (KernelGlobals kg, const int id, const float x, float y) |
| ccl_device float4 | kernel_tex_image_interp_3d (KernelGlobals kg, ccl_private ShaderData *sd, const int id, float3 P, InterpolationType interp, const bool stochastic) |
| const char * | name_from_type (ImageDataType type) |
| bool | check_node_inputs_has_links (const ShaderNode *node) |
| bool | check_node_inputs_traversed (const ShaderNode *node, const ShaderNodeSet &done) |
| void | task_run () |
| template<typename T> | |
| const T * | util_image_read (const vector< T > &pixels, const size_t width, const size_t, const size_t components, const size_t x, const size_t y) |
| template<typename T> | |
| void | util_image_downscale_sample (const vector< T > &pixels, const size_t width, const size_t height, const size_t components, const size_t kernel_size, const float x, const float y, T *result) |
| template<typename T> | |
| void | util_image_downscale_pixels (const vector< T > &input_pixels, const size_t input_width, const size_t input_height, const size_t components, const float inv_scale_factor, const size_t output_width, const size_t output_height, vector< T > *output_pixels) |
Variables | |
| bool | debug_flags_set = false |
| bool CCL_NAMESPACE_BEGIN::check_node_inputs_has_links | ( | const ShaderNode * | node | ) |
Definition at line 22 of file shader_graph.cpp.
References check_node_inputs_has_links(), in, and ShaderNode::inputs.
Referenced by check_node_inputs_has_links().
| bool CCL_NAMESPACE_BEGIN::check_node_inputs_traversed | ( | const ShaderNode * | node, |
| const ShaderNodeSet & | done ) |
Definition at line 32 of file shader_graph.cpp.
References check_node_inputs_traversed(), in, and ShaderNode::inputs.
Referenced by check_node_inputs_traversed().
| void CCL_NAMESPACE_BEGIN::debug_flags_reset | ( | ) |
Definition at line 78 of file python.cpp.
References debug_flags_reset(), DebugFlags(), and DebugFlags::reset().
Referenced by debug_flags_reset().
| void CCL_NAMESPACE_BEGIN::debug_flags_sync_from_scene | ( | BL::Scene | b_scene | ) |
Definition at line 59 of file python.cpp.
References DebugFlags::CUDA::adaptive_compile, DebugFlags::HIP::adaptive_compile, DebugFlags::Metal::adaptive_compile, DebugFlags::CPU::avx2, DebugFlags::CPU::bvh_layout, DebugFlags::cpu, DebugFlags::cuda, debug_flags_sync_from_scene(), DebugFlags(), get_boolean(), get_enum(), DebugFlags::hip, DebugFlags::metal, DebugFlags::optix, RNA_pointer_get(), DebugFlags::CPU::sse42, and DebugFlags::OptiX::use_debug.
Referenced by debug_flags_sync_from_scene().
| ccl_device_inline float CCL_NAMESPACE_BEGIN::frac | ( | const float | x, |
| int * | ix ) |
Definition at line 27 of file cycles/kernel/device/cpu/image.h.
References ccl_device_inline, float, float_to_int(), i, and x.
| ccl_device float4 CCL_NAMESPACE_BEGIN::kernel_tex_image_interp | ( | KernelGlobals | kg, |
| const int | id, | ||
| const float | x, | ||
| float | y ) |
Definition at line 325 of file cycles/kernel/device/cpu/image.h.
References assert, ccl_device, TextureInfo::data, TextureInfo::data_type, IMAGE_DATA_TYPE_BYTE, IMAGE_DATA_TYPE_BYTE4, IMAGE_DATA_TYPE_FLOAT, IMAGE_DATA_TYPE_FLOAT4, IMAGE_DATA_TYPE_HALF, IMAGE_DATA_TYPE_HALF4, IMAGE_DATA_TYPE_USHORT, IMAGE_DATA_TYPE_USHORT4, CCL_NAMESPACE_BEGIN::TextureInterpolator< TexT, OutT >::interp(), kernel_data_fetch, make_float4, TEX_IMAGE_MISSING_A, TEX_IMAGE_MISSING_B, TEX_IMAGE_MISSING_G, TEX_IMAGE_MISSING_R, UNLIKELY, x, y, and zero_float4().
| ccl_device float4 CCL_NAMESPACE_BEGIN::kernel_tex_image_interp_3d | ( | KernelGlobals | kg, |
| ccl_private ShaderData * | sd, | ||
| const int | id, | ||
| float3 | P, | ||
| InterpolationType | interp, | ||
| const bool | stochastic ) |
Definition at line 181 of file texture_3d.h.
References ccl_device, ccl_global, ccl_private, IMAGE_DATA_TYPE_NANOVDB_EMPTY, IMAGE_DATA_TYPE_NANOVDB_FLOAT, IMAGE_DATA_TYPE_NANOVDB_FLOAT3, IMAGE_DATA_TYPE_NANOVDB_FLOAT4, IMAGE_DATA_TYPE_NANOVDB_FP16, IMAGE_DATA_TYPE_NANOVDB_FPN, interp(), INTERPOLATION_NONE, kernel_data_fetch, kernel_tex_image_interp_3d(), lcg_step_float3(), make_float4, P, TEX_IMAGE_MISSING_A, TEX_IMAGE_MISSING_B, TEX_IMAGE_MISSING_G, TEX_IMAGE_MISSING_R, transform_point(), and zero_float4().
Referenced by kernel_tex_image_interp_3d().
| const char * CCL_NAMESPACE_BEGIN::name_from_type | ( | ImageDataType | type | ) |
Definition at line 28 of file scene/image.cpp.
References assert, IMAGE_DATA_NUM_TYPES, IMAGE_DATA_TYPE_BYTE, IMAGE_DATA_TYPE_BYTE4, IMAGE_DATA_TYPE_FLOAT, IMAGE_DATA_TYPE_FLOAT4, IMAGE_DATA_TYPE_HALF, IMAGE_DATA_TYPE_HALF4, IMAGE_DATA_TYPE_NANOVDB_EMPTY, IMAGE_DATA_TYPE_NANOVDB_FLOAT, IMAGE_DATA_TYPE_NANOVDB_FLOAT3, IMAGE_DATA_TYPE_NANOVDB_FLOAT4, IMAGE_DATA_TYPE_NANOVDB_FP16, IMAGE_DATA_TYPE_NANOVDB_FPN, IMAGE_DATA_TYPE_USHORT, IMAGE_DATA_TYPE_USHORT4, and name_from_type().
Referenced by name_from_type().
| void * CCL_NAMESPACE_BEGIN::pylong_as_voidptr_typesafe | ( | PyObject * | object | ) |
Definition at line 42 of file python.cpp.
References pylong_as_voidptr_typesafe().
Referenced by pylong_as_voidptr_typesafe().
| PyObject * CCL_NAMESPACE_BEGIN::pyunicode_from_string | ( | const char * | str | ) |
Definition at line 50 of file python.cpp.
References pyunicode_from_string(), and str.
Referenced by pyunicode_from_string().
| void CCL_NAMESPACE_BEGIN::task_run | ( | ) |
| void CCL_NAMESPACE_BEGIN::util_image_downscale_pixels | ( | const vector< T > & | input_pixels, |
| const size_t | input_width, | ||
| const size_t | input_height, | ||
| const size_t | components, | ||
| const float | inv_scale_factor, | ||
| const size_t | output_width, | ||
| const size_t | output_height, | ||
| vector< T > * | output_pixels ) |
Definition at line 70 of file image_impl.h.
References float, util_image_downscale_pixels(), util_image_downscale_sample(), x, and y.
Referenced by util_image_downscale_pixels().
| void CCL_NAMESPACE_BEGIN::util_image_downscale_sample | ( | const vector< T > & | pixels, |
| const size_t | width, | ||
| const size_t | height, | ||
| const size_t | components, | ||
| const size_t | kernel_size, | ||
| const float | x, | ||
| const float | y, | ||
| T * | result ) |
Definition at line 27 of file image_impl.h.
References assert, count, float, result, T, util_image_cast_from_float(), util_image_cast_to_float(), util_image_downscale_sample(), util_image_read(), x, and y.
Referenced by util_image_downscale_pixels(), and util_image_downscale_sample().
| const T * CCL_NAMESPACE_BEGIN::util_image_read | ( | const vector< T > & | pixels, |
| const size_t | width, | ||
| const size_t | , | ||
| const size_t | components, | ||
| const size_t | x, | ||
| const size_t | y ) |
Definition at line 15 of file image_impl.h.
References T, util_image_read(), x, and y.
Referenced by util_image_downscale_sample(), and util_image_read().
| bool CCL_NAMESPACE_BEGIN::debug_flags_set = false |
Definition at line 40 of file python.cpp.