|
Blender V4.3
|
Inherits blender::fn::multi_function::MultiFunction.
Public Member Functions | |
| BrickFunction (const float offset, const int offset_freq, const float squash, const int squash_freq) | |
| void | call (const IndexMask &mask, mf::Params params, mf::Context) const override |
Public Member Functions inherited from blender::fn::multi_function::MultiFunction | |
| virtual | ~MultiFunction () |
| void | call_auto (const IndexMask &mask, Params params, Context context) const |
| virtual uint64_t | hash () const |
| virtual bool | equals (const MultiFunction &) const |
| int | param_amount () const |
| IndexRange | param_indices () const |
| ParamType | param_type (int param_index) const |
| StringRefNull | param_name (int param_index) const |
| StringRefNull | name () const |
| virtual std::string | debug_name () const |
| const Signature & | signature () const |
| ExecutionHints | execution_hints () const |
Static Public Member Functions | |
| static float | brick_noise (uint n) |
| static float | smoothstepf (const float f) |
| static float2 | brick (float3 p, float mortar_size, float mortar_smooth, float bias, float brick_width, float row_height, float offset_amount, int offset_frequency, float squash_amount, int squash_frequency) |
Additional Inherited Members | |
Protected Member Functions inherited from blender::fn::multi_function::MultiFunction | |
| void | set_signature (const Signature *signature) |
| virtual ExecutionHints | get_execution_hints () const |
Definition at line 133 of file node_shader_tex_brick.cc.
|
inline |
Definition at line 141 of file node_shader_tex_brick.cc.
References blender::fn::multi_function::MultiFunction::set_signature(), and blender::fn::multi_function::MultiFunction::signature().
|
inlinestatic |
Definition at line 182 of file node_shader_tex_brick.cc.
References brick_noise(), clamp_f(), floorf, int, and smoothstepf().
Referenced by call().
|
inlineoverridevirtual |
Implements blender::fn::multi_function::MultiFunction.
Definition at line 226 of file node_shader_tex_brick.cc.
References brick(), copy_v4_v4(), and params.
|
inlinestatic |
Definition at line 176 of file node_shader_tex_brick.cc.
Referenced by brick().