Blender
V3.3
|
#include "util/types.h"
Go to the source code of this file.
Macros | |
#define | rot(x, k) (((x) << (k)) | ((x) >> (32 - (k)))) |
#define | mix(a, b, c) |
#define | final(a, b, c) |
#define final | ( | a, | |
b, | |||
c | |||
) |
#define mix | ( | a, | |
b, | |||
c | |||
) |
ccl_device_inline float hash_float2_to_float | ( | float2 | k | ) |
Definition at line 144 of file hash.h.
References __float_as_uint(), hash_uint2_to_float(), float2::x, and float2::y.
Referenced by hash_float2_to_float2(), hash_float2_to_float3(), hash_float_to_float3(), random_float2_offset(), random_float3_offset(), random_float4_offset(), and svm_node_tex_white_noise().
ccl_device_inline float2 hash_float2_to_float2 | ( | float2 | k | ) |
Definition at line 162 of file hash.h.
References hash_float2_to_float(), hash_float3_to_float(), make_float2, make_float3, float2::x, and float2::y.
Referenced by voronoi_distance_to_edge_2d(), voronoi_f1_2d(), voronoi_f2_2d(), voronoi_n_sphere_radius_2d(), and voronoi_smooth_f1_2d().
ccl_device_inline float3 hash_float2_to_float3 | ( | float2 | k | ) |
Definition at line 191 of file hash.h.
References hash_float2_to_float(), hash_float3_to_float(), make_float3, float2::x, and float2::y.
Referenced by svm_node_tex_white_noise(), voronoi_f1_2d(), voronoi_f2_2d(), and voronoi_smooth_f1_2d().
ccl_device_inline float hash_float3_to_float | ( | float3 | k | ) |
Definition at line 149 of file hash.h.
References __float_as_uint(), hash_uint3_to_float(), float3::x, float3::y, and float3::z.
Referenced by hash_float2_to_float2(), hash_float2_to_float3(), hash_float3_to_float3(), and svm_node_tex_white_noise().
ccl_device_inline float3 hash_float3_to_float3 | ( | float3 | k | ) |
Definition at line 167 of file hash.h.
References hash_float3_to_float(), hash_float4_to_float(), make_float3, make_float4, float3::x, float3::y, and float3::z.
Referenced by svm_node_tex_white_noise(), voronoi_distance_to_edge_3d(), voronoi_f1_3d(), voronoi_f2_3d(), voronoi_n_sphere_radius_3d(), and voronoi_smooth_f1_3d().
ccl_device_inline float hash_float4_to_float | ( | float4 | k | ) |
Definition at line 154 of file hash.h.
References __float_as_uint(), and hash_uint4_to_float().
Referenced by hash_float3_to_float3(), hash_float4_to_float3(), hash_float4_to_float4(), and svm_node_tex_white_noise().
ccl_device_inline float3 hash_float4_to_float3 | ( | float4 | k | ) |
Definition at line 198 of file hash.h.
References hash_float4_to_float(), make_float3, and make_float4.
Referenced by svm_node_tex_white_noise(), voronoi_f1_4d(), voronoi_f2_4d(), and voronoi_smooth_f1_4d().
ccl_device_inline float4 hash_float4_to_float4 | ( | float4 | k | ) |
Definition at line 174 of file hash.h.
References hash_float4_to_float(), and make_float4.
Referenced by voronoi_distance_to_edge_4d(), voronoi_f1_4d(), voronoi_f2_4d(), voronoi_n_sphere_radius_4d(), and voronoi_smooth_f1_4d().
ccl_device_inline float hash_float_to_float | ( | float | k | ) |
Definition at line 139 of file hash.h.
References __float_as_uint(), and hash_uint_to_float().
Referenced by hash_float_to_float3().
ccl_device_inline float3 hash_float_to_float3 | ( | float | k | ) |
Definition at line 184 of file hash.h.
References hash_float2_to_float(), hash_float_to_float(), make_float2, and make_float3.
Referenced by svm_node_tex_white_noise(), voronoi_f1_1d(), voronoi_f2_1d(), and voronoi_smooth_f1_1d().
|
inlinestatic |
Definition at line 363 of file hash.h.
References Freestyle::c, and str.
Referenced by LightManager::add_ies(), and GeometryManager::create_volume_mesh().
ccl_device_inline uint hash_uint | ( | uint | kx | ) |
Definition at line 59 of file hash.h.
References Freestyle::a, usdtokens::b(), and Freestyle::c.
Referenced by hash_uint_to_float(), integrator_init_from_bake(), and perlin_1d().
ccl_device_inline uint hash_uint2 | ( | uint | kx, |
uint | ky | ||
) |
Definition at line 70 of file hash.h.
References Freestyle::a, usdtokens::b(), and Freestyle::c.
Referenced by hash_uint2_to_float(), perlin_2d(), DiagSplit::post_split(), BlenderSession::render(), and BlenderSync::sync_integrator().
ccl_device_inline float hash_uint2_to_float | ( | uint | kx, |
uint | ky | ||
) |
Definition at line 122 of file hash.h.
References float(), and hash_uint2().
Referenced by export_hair_curves(), export_pointcloud(), ExportCurveSegments(), OSLRenderServices::get_object_standard_attribute(), hash_float2_to_float(), and svm_node_particle_info().
ccl_device_inline uint hash_uint3 | ( | uint | kx, |
uint | ky, | ||
uint | kz | ||
) |
Definition at line 82 of file hash.h.
References Freestyle::a, usdtokens::b(), and Freestyle::c.
Referenced by hash_uint3_to_float(), and perlin_3d().
ccl_device_inline float hash_uint3_to_float | ( | uint | kx, |
uint | ky, | ||
uint | kz | ||
) |
Definition at line 127 of file hash.h.
References float(), and hash_uint3().
Referenced by hash_float3_to_float().
Definition at line 95 of file hash.h.
References Freestyle::a, usdtokens::b(), Freestyle::c, and mix.
Referenced by hash_uint4_to_float(), and perlin_4d().
Definition at line 132 of file hash.h.
References float(), and hash_uint4().
Referenced by hash_float4_to_float().
ccl_device_inline float hash_uint_to_float | ( | uint | kx | ) |
Definition at line 117 of file hash.h.
References float(), and hash_uint().
Referenced by attr_create_random_per_island(), GeometryManager::create_volume_mesh(), and hash_float_to_float().