|
Blender V5.3
|
#include "gpu_shader_common_hash.bsl.hh"Go to the source code of this file.
Functions | |
| void | random_value_vector (float3 min_value, float3 max_value, int id, int seed, float3 &result) |
| void | random_value_float (float min_value, float max_value, int id, int seed, float &result) |
| void | random_value_int (int min_value, int max_value, int id, int seed, int &result) |
| void | random_value_bool (float probability, int id, int seed, bool &result) |
| void random_value_bool | ( | float | probability, |
| int | id, | ||
| int | seed, | ||
| bool & | result ) |
Definition at line 47 of file gpu_shader_material_random_value.bsl.hh.
References hash_uint2_to_float(), and random_value_bool().
Referenced by random_value_bool().
Definition at line 19 of file gpu_shader_material_random_value.bsl.hh.
References hash_uint2_to_float(), and random_value_float().
Referenced by random_value_float().
| void random_value_int | ( | int | min_value, |
| int | max_value, | ||
| int | id, | ||
| int | seed, | ||
| int & | result ) |
Definition at line 26 of file gpu_shader_material_random_value.bsl.hh.
References hash, hash_uint2(), and random_value_int().
Referenced by random_value_int().
Definition at line 10 of file gpu_shader_material_random_value.bsl.hh.
References hash_uint3_to_float(), random_value_vector(), x, y, and z().
Referenced by random_value_vector().