|
Blender V4.5
|
Classes | |
| struct | TextureInterpolator |
| class | ShaderNodeBuilder |
| class | ShaderGraphBuilder |
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 () |
| void | density_texture_space_invert (float3 &loc, float3 &size) |
| 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, const int id, float3 P, InterpolationType interp) |
| 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 height, const size_t, const size_t components, const size_t x, const size_t y, const size_t z) |
| template<typename T> | |
| void | util_image_downscale_sample (const vector< T > &pixels, const size_t width, const size_t height, const size_t depth, const size_t components, const size_t kernel_size, const float x, const float y, const float z, 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 input_depth, const size_t components, const float inv_scale_factor, const size_t output_width, const size_t output_height, const size_t output_depth, 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().
Definition at line 15 of file texture.cpp.
References density_texture_space_invert(), make_float3(), and size().
Referenced by density_texture_space_invert().
| ccl_device_inline float CCL_NAMESPACE_BEGIN::frac | ( | const float | x, |
| int * | ix ) |
Definition at line 31 of file cycles/kernel/device/cpu/image.h.
References ccl_device_inline, 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 834 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, |
| const int | id, | ||
| float3 | P, | ||
| InterpolationType | interp ) |
Definition at line 874 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_NANOVDB_FLOAT, IMAGE_DATA_TYPE_NANOVDB_FLOAT3, IMAGE_DATA_TYPE_NANOVDB_FP16, IMAGE_DATA_TYPE_NANOVDB_FPN, IMAGE_DATA_TYPE_USHORT, IMAGE_DATA_TYPE_USHORT4, interp(), CCL_NAMESPACE_BEGIN::TextureInterpolator< TexT, OutT >::interp_3d(), kernel_data_fetch, make_float4(), P, TEX_IMAGE_MISSING_A, TEX_IMAGE_MISSING_B, TEX_IMAGE_MISSING_G, TEX_IMAGE_MISSING_R, TextureInfo::transform_3d, transform_point(), UNLIKELY, TextureInfo::use_transform_3d, and zero_float4().
| 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_FLOAT, IMAGE_DATA_TYPE_NANOVDB_FLOAT3, 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 | input_depth, | ||
| const size_t | components, | ||
| const float | inv_scale_factor, | ||
| const size_t | output_width, | ||
| const size_t | output_height, | ||
| const size_t | output_depth, | ||
| vector< T > * | output_pixels ) |
Definition at line 78 of file image_impl.h.
References util_image_downscale_pixels(), util_image_downscale_sample(), x, y, and z().
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 | depth, | ||
| const size_t | components, | ||
| const size_t | kernel_size, | ||
| const float | x, | ||
| const float | y, | ||
| const float | z, | ||
| T * | result ) |
Definition at line 29 of file image_impl.h.
References assert, count, result, T, util_image_cast_from_float(), util_image_cast_to_float(), util_image_downscale_sample(), util_image_read(), x, y, and z().
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 | height, | ||
| const size_t | , | ||
| const size_t | components, | ||
| const size_t | x, | ||
| const size_t | y, | ||
| const size_t | z ) |
Definition at line 15 of file image_impl.h.
References T, util_image_read(), x, y, and z().
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.