Blender
V3.3
|
Classes | |
struct | TextureInterpolator |
class | ShaderNodeBuilder |
class | ShaderGraphBuilder |
Functions | |
void * | pylong_as_voidptr_typesafe (PyObject *object) |
PyObject * | pyunicode_from_string (const char *str) |
static void | debug_flags_sync_from_scene (BL::Scene b_scene) |
static void | debug_flags_reset () |
void | density_texture_space_invert (float3 &loc, float3 &size) |
ccl_device_inline float | frac (float x, int *ix) |
ccl_device float4 | kernel_tex_image_interp (KernelGlobals kg, int id, float x, float y) |
ccl_device float4 | kernel_tex_image_interp_3d (KernelGlobals kg, int id, float3 P, InterpolationType interp) |
bool | isfinite (uchar) |
bool | isfinite (half) |
bool | isfinite (uint16_t) |
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 21 of file shader_graph.cpp.
References node.
Referenced by ShaderGraph::constant_fold(), and ShaderGraph::deduplicate_nodes().
bool CCL_NAMESPACE_BEGIN::check_node_inputs_traversed | ( | const ShaderNode * | node, |
const ShaderNodeSet & | done | ||
) |
Definition at line 31 of file shader_graph.cpp.
References node.
Referenced by ShaderGraph::constant_fold(), and ShaderGraph::deduplicate_nodes().
|
static |
Definition at line 80 of file python.cpp.
References DebugFlags(), and DebugFlags::reset().
Referenced by debug_flags_reset_func().
Definition at line 58 of file python.cpp.
References DebugFlags::CUDA::adaptive_compile, DebugFlags::CPU::avx, DebugFlags::CPU::avx2, DebugFlags::CPU::bvh_layout, BVHLayout, DebugFlags::cpu, DebugFlags::cuda, DebugFlags(), get_boolean(), get_enum(), DebugFlags::optix, RNA_pointer_get(), DebugFlags::CPU::sse2, DebugFlags::CPU::sse3, DebugFlags::CPU::sse41, DebugFlags::OptiX::use_debug, and DebugFlags::viewport_static_bvh.
Referenced by debug_flags_update_func().
Definition at line 12 of file texture.cpp.
References make_float3, and size().
Referenced by point_density_texture_space().
ccl_device_inline float CCL_NAMESPACE_BEGIN::frac | ( | float | x, |
int * | ix | ||
) |
Definition at line 27 of file cycles/kernel/device/cpu/image.h.
References float(), float_to_int(), and x.
Referenced by BKE_where_on_path(), btCompoundCollisionAlgorithm::calculateTimeOfImpact(), fill_profile_fracs(), fill_vmesh_fracs(), CCL_NAMESPACE_BEGIN::TextureInterpolator< TexT, OutT >::interp_3d_closest(), CCL_NAMESPACE_BEGIN::TextureInterpolator< TexT, OutT >::interp_3d_cubic(), CCL_NAMESPACE_BEGIN::TextureInterpolator< TexT, OutT >::interp_3d_linear(), CCL_NAMESPACE_BEGIN::TextureInterpolator< TexT, OutT >::interp_closest(), CCL_NAMESPACE_BEGIN::TextureInterpolator< TexT, OutT >::interp_cubic(), CCL_NAMESPACE_BEGIN::TextureInterpolator< TexT, OutT >::interp_linear(), interp_range(), interp_vmesh(), modifyMesh(), patch_eval_normalize_coords(), position_tail_on_spline(), SCULPT_cache_calc_brushdata_symm(), and shutter_curve_eval().
Definition at line 35 of file scene/image.cpp.
Definition at line 31 of file scene/image.cpp.
Referenced by axisProjection(), BKE_gpencil_stroke_stretch(), BKE_mesh_validate_arrays(), BKE_object_dimensions_set_ex(), BLI_tridiagonal_solve(), BLI_tridiagonal_solve_cyclic(), BPY_driver_exec(), calc_min_radius_v3v3(), constrain_scale_to_boundary(), double_round(), driver_evaluate_simple_expr(), ED_view3d_project_float_ex(), edbm_rip_edgedist_squared(), editbmesh_get_x_mirror_vert_spatial(), BoundBox::grow_safe(), handleNumInput(), is_finite_v2(), is_finite_v3(), is_finite_v4(), isect_ray_tri_watertight_v3(), layerValidate_propFloat(), layerValidate_propfloat2(), layerValidate_propfloat3(), mean_value_half_tan_v2_db(), mean_value_half_tan_v3(), mf_sample_vndf(), modf_to_index(), ortho_basis_v3v3_v3(), p_vert_add(), PyC_RunString_AsNumber(), quat__axis_angle_sanitize(), screen_animation_step_invoke(), subdivide_base(), svm_node_light_falloff(), tc_mesh_customdatacorrect_apply_vert(), ui_but_range_set_soft(), ui_numedit_begin(), uv_rip_pairs_calc_uv_angle(), BoundBox::valid(), and wm_event_do_handlers().
Definition at line 39 of file scene/image.cpp.
ccl_device float4 CCL_NAMESPACE_BEGIN::kernel_tex_image_interp | ( | KernelGlobals | kg, |
int | id, | ||
float | x, | ||
float | y | ||
) |
Definition at line 734 of file cycles/kernel/device/cpu/image.h.
References 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, 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().
Referenced by sky_radiance_nishita(), svm_image_texture(), and OSLRenderServices::texture().
ccl_device float4 CCL_NAMESPACE_BEGIN::kernel_tex_image_interp_3d | ( | KernelGlobals | kg, |
int | id, | ||
float3 | P, | ||
InterpolationType | interp | ||
) |
Definition at line 774 of file cycles/kernel/device/cpu/image.h.
References 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(), 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().
Referenced by svm_node_tex_voxel(), and OSLRenderServices::texture3d().
const char* CCL_NAMESPACE_BEGIN::name_from_type | ( | ImageDataType | type | ) |
Definition at line 44 of file scene/image.cpp.
References 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 type.
void* CCL_NAMESPACE_BEGIN::pylong_as_voidptr_typesafe | ( | PyObject * | object | ) |
Definition at line 42 of file python.cpp.
References NULL.
Referenced by create_func(), and draw_func().
PyObject* CCL_NAMESPACE_BEGIN::pyunicode_from_string | ( | const char * | str | ) |
Definition at line 49 of file python.cpp.
References str.
Referenced by available_devices_func(), and system_info_func().
void CCL_NAMESPACE_BEGIN::task_run | ( | ) |
Definition at line 12 of file util_task_test.cpp.
Referenced by TEST().
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 75 of file image_impl.h.
References float(), util_image_downscale_sample(), x, y, and z.
Referenced by util_image_resize_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 30 of file image_impl.h.
References count, float(), height, ny, result, T, util_image_cast_to_float(), util_image_read(), width, x, y, and z.
Referenced by util_image_downscale_pixels().
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 16 of file image_impl.h.
References height, width, x, y, and z.
Referenced by util_image_downscale_sample().
bool CCL_NAMESPACE_BEGIN::debug_flags_set = false |
Definition at line 40 of file python.cpp.
Referenced by debug_flags_reset_func(), and debug_flags_update_func().