|
Blender V4.5
|
#include "BKE_material.hh"#include "BLI_math_vector.h"#include "DNA_material_types.h"#include "node_texture_util.hh"#include <cmath>Go to the source code of this file.
Functions | |
| static void | init (bNodeTree *, bNode *node) |
| static float | noise (int n) |
| static void | colorfn (float *out, TexParams *p, bNode *node, bNodeStack **in, short thread) |
| static void | exec (void *data, int, bNode *node, bNodeExecData *execdata, bNodeStack **in, bNodeStack **out) |
| void | register_node_type_tex_bricks () |
Variables | |
| static blender::bke::bNodeSocketTemplate | inputs [] |
| static blender::bke::bNodeSocketTemplate | outputs [] |
|
static |
Definition at line 45 of file node_texture_bricks.cc.
References CLAMP, TexParams::co, copy_v4_v4(), floor, in, MA_RAMP_BLEND, node, noise(), out, ramp_blend(), tex_input_rgba(), tex_input_value(), x, and y.
Referenced by exec().
|
static |
Definition at line 96 of file node_texture_bricks.cc.
References colorfn(), data, in, node, out, and tex_output().
Referenced by register_node_type_tex_bricks().
Definition at line 31 of file node_texture_bricks.cc.
References node.
|
static |
Definition at line 37 of file node_texture_bricks.cc.
Referenced by add_node(), colorfn(), compute_2d_gabor_noise_cell(), compute_3d_gabor_noise_cell(), blender::ed::sculpt_paint::color::do_paint_brush_task(), MANTA::exportSmokeScript(), fcm_noise_evaluate(), safe_noise(), safe_noise(), safe_noise(), safe_noise(), safe_snoise(), safe_snoise(), safe_snoise(), safe_snoise(), Freestyle::SpatialNoiseShader::shade(), and MANTA::updatePointers().
| void register_node_type_tex_bricks | ( | ) |
Definition at line 106 of file node_texture_bricks.cc.
References blender::bke::bNodeType::enum_name_legacy, exec(), blender::bke::bNodeType::exec_fn, blender::bke::bNodeType::flag, init(), blender::bke::bNodeType::initfunc, inputs, blender::bke::Middle, blender::bke::bNodeType::nclass, NODE_CLASS_PATTERN, NODE_PREVIEW, blender::bke::node_register_type(), blender::bke::node_type_size_preset(), blender::bke::node_type_socket_templates(), outputs, TEX_NODE_BRICKS, tex_node_type_base(), and blender::bke::bNodeType::ui_name.
Referenced by register_texture_nodes().
|
static |
Definition at line 16 of file node_texture_bricks.cc.
Referenced by register_node_type_tex_bricks().
|
static |
Definition at line 26 of file node_texture_bricks.cc.
Referenced by register_node_type_tex_bricks().