Blender V4.3
types_float4.h File Reference

Go to the source code of this file.

Functions

struct ccl_try_align (16) float4
 
ccl_device_inline float4 make_float4 (float x, float y, float z, float w)
 
ccl_device_inline float4 make_float4 (float f)
 
ccl_device_inline float4 make_float4 (const int4 i)
 
ccl_device_inline void print_float4 (ccl_private const char *label, const float4 a)
 

Function Documentation

◆ ccl_try_align()

struct ccl_try_align ( 16 )

Definition at line 11 of file types_float4.h.

◆ make_float4() [1/3]

ccl_device_inline float4 make_float4 ( const int4 i)

Definition at line 72 of file types_float4_impl.h.

References make_float4(), int4::w, int4::x, int4::y, and int4::z.

◆ make_float4() [2/3]

ccl_device_inline float4 make_float4 ( float f)

Definition at line 63 of file types_float4_impl.h.

References make_float4().

◆ make_float4() [3/3]

ccl_device_inline float4 make_float4 ( float x,
float y,
float z,
float w )

Definition at line 234 of file device/metal/compat.h.

References w(), x, y, and z().

Referenced by __int4_as_float4(), area_light_rect_sample(), attr_create_motion_from_velocity(), BVHObjectBinning::blocks(), BVHObjectBinning::BVHObjectBinning(), Hair::Curve::cardinal_keys_for_step(), cast(), color_linear_to_srgb_v4(), color_srgb_to_linear_v4(), color_uchar4_to_float4(), compute_3d_gabor_noise_cell(), AttributeConverter< blender::ColorGeometry4b >::convert(), AttributeConverter< blender::ColorGeometry4f >::convert(), AttributeConverter< blender::math::Quaternion >::convert(), PointCloud::copy_center_to_motion_step(), cross(), curve_point_as_float4(), LightManager::device_update_background(), direction_to_equirectangular(), direction_to_fisheye_lens_polynomial(), equirectangular_to_direction(), exp(), export_pointcloud_motion(), fabs(), fast_exp2f4(), fetch_node_float(), film_calculate_shadow_catcher_matte_with_shadow(), film_get_pass_pixel_cryptomatte(), film_get_pass_pixel_motion(), film_write_adaptive_buffer(), film_write_aov_pass_color(), film_write_combined_transparent_pass(), fisheye_lens_polynomial_to_direction(), float3_to_float4(), float3_to_float4(), float4_to_half4_display(), floor(), fmod(), get_float4(), half4_to_float4_image(), hash_float3_to_float3(), hash_float4_to_float2(), hash_float4_to_float3(), hash_float4_to_float4(), kernel_read_pass_float4(), CCL_NAMESPACE_BEGIN::kernel_tex_image_interp(), kernel_tex_image_interp(), kernel_tex_image_interp(), CCL_NAMESPACE_BEGIN::kernel_tex_image_interp_3d(), kernel_tex_image_interp_3d(), kernel_tex_image_interp_3d(), Hair::Curve::keys_for_step(), load_float4(), log(), make_float4(), make_float4(), max(), min(), noise_texture_4d(), ObtainCacheParticleVcol(), one_float4(), operator*(), operator*(), operator*(), operator*(), operator+(), operator+(), operator-(), operator-(), operator-(), operator/(), operator^(), PointCloud::pack(), Hair::pack_curves(), BVH2::pack_unaligned_node(), path_rng_4D(), PointCloud::Point::point_for_step(), power(), primitive_motion_vector(), random_float4_offset(), ray_triangle_cross(), ray_triangle_dot(), rcp(), CCL_NAMESPACE_BEGIN::TextureInterpolator< TexT, OutT >::read(), CCL_NAMESPACE_BEGIN::TextureInterpolator< TexT, OutT >::read(), read_node_float(), BVHBuild::rotate(), safe_divide(), saturate(), select(), snoise_4d(), sobol_burley_sample_4D(), sqrt(), svm_image_texture(), svm_image_texture_read(), svm_image_texture_read_2d(), svm_image_texture_read_3d(), svm_node_tex_noise(), svm_node_tex_voronoi(), svm_node_tex_white_noise(), tabulated_sobol_sample_4D(), TEST(), TEST(), TEST(), OSLRenderServices::texture(), transform_compose(), transform_decompose(), transform_perspective(), voronoi_distance_to_edge(), voronoi_f1(), voronoi_f2(), voronoi_n_sphere_radius(), voronoi_position(), voronoi_position(), voronoi_smooth_f1(), xml_read_float4(), and zero_float4().

◆ print_float4()

ccl_device_inline void print_float4 ( ccl_private const char * label,
const float4 a )

Definition at line 81 of file types_float4_impl.h.

References label, and printf.

Referenced by print_projection(), and print_transform().