Blender
V3.3
|
Public Member Functions | |
BrickFunction (const float offset, const int offset_freq, const float squash, const int squash_freq) | |
void | call (IndexMask mask, fn::MFParams params, fn::MFContext UNUSED(context)) const override |
![]() | |
virtual | ~MultiFunction () |
void | call_auto (IndexMask mask, MFParams params, MFContext context) const |
virtual void | call (IndexMask mask, MFParams params, MFContext context) const =0 |
virtual uint64_t | hash () const |
virtual bool | equals (const MultiFunction &UNUSED(other)) const |
int | param_amount () const |
IndexRange | param_indices () const |
MFParamType | param_type (int param_index) const |
StringRefNull | param_name (int param_index) const |
StringRefNull | name () const |
virtual std::string | debug_name () const |
bool | depends_on_context () const |
const MFSignature & | signature () const |
ExecutionHints | execution_hints () const |
Static Public Member Functions | |
static fn::MFSignature | create_signature () |
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 | |
![]() | |
void | set_signature (const MFSignature *signature) |
virtual ExecutionHints | get_execution_hints () const |
Definition at line 108 of file node_shader_tex_brick.cc.
|
inline |
Definition at line 116 of file node_shader_tex_brick.cc.
References create_signature(), blender::fn::MultiFunction::set_signature(), and blender::fn::MultiFunction::signature().
|
inlinestatic |
Definition at line 159 of file node_shader_tex_brick.cc.
References brick_noise(), clamp_f(), floorf, min, offset, smoothstepf(), x, and y.
Referenced by call().
|
inlineoverride |
Definition at line 203 of file node_shader_tex_brick.cc.
References brick(), copy_v4_v4(), mask(), and params.
|
inlinestatic |
Definition at line 126 of file node_shader_tex_brick.cc.
References blender::fn::MultiFunction::signature().
Referenced by BrickFunction().
|
inlinestatic |
Definition at line 153 of file node_shader_tex_brick.cc.
Referenced by brick().