Blender V5.3
gpu_shader_material_hash_value.bsl.hh File Reference

Go to the source code of this file.

Functions

uint hash_value_float_to_uint (float value)
uint hash_value_vec3_to_uint (float3 vec)
uint hash_value_vec4_to_uint (float4 vec)
uint hash_value_mat4_to_uint (float4x4 mat)
void hash_value_float (float value, int seed, int &hash)
void hash_value_vector (float3 value, int seed, int &hash)
void hash_value_color (float4 value, int seed, int &hash)
void hash_value_int (int value, int seed, int &hash)
void hash_value_rotation (float4 value, int seed, int &hash)
void hash_value_matrix (float4x4 value, int seed, int &hash)

Function Documentation

◆ hash_value_color()

void hash_value_color ( float4 value,
int seed,
int & hash )

◆ hash_value_float()

void hash_value_float ( float value,
int seed,
int & hash )

◆ hash_value_float_to_uint()

uint hash_value_float_to_uint ( float value)

◆ hash_value_int()

void hash_value_int ( int value,
int seed,
int & hash )

Definition at line 54 of file gpu_shader_material_hash_value.bsl.hh.

References hash, hash_uint(), hash_uint2(), and hash_value_int().

Referenced by hash_value_int().

◆ hash_value_mat4_to_uint()

uint hash_value_mat4_to_uint ( float4x4 mat)

◆ hash_value_matrix()

void hash_value_matrix ( float4x4 value,
int seed,
int & hash )

◆ hash_value_rotation()

void hash_value_rotation ( float4 value,
int seed,
int & hash )

◆ hash_value_vec3_to_uint()

uint hash_value_vec3_to_uint ( float3 vec)

◆ hash_value_vec4_to_uint()

◆ hash_value_vector()

void hash_value_vector ( float3 value,
int seed,
int & hash )