|
Blender V4.3
|
#include "BKE_material.h"#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(), int, MA_RAMP_BLEND, noise, ramp_blend(), tex_input_rgba(), and tex_input_value().
Referenced by exec().
|
static |
Definition at line 96 of file node_texture_bricks.cc.
References colorfn(), and tex_output().
Referenced by register_node_type_tex_bricks().
Definition at line 31 of file node_texture_bricks.cc.
Definition at line 37 of file node_texture_bricks.cc.
References float.
| void register_node_type_tex_bricks | ( | ) |
Definition at line 106 of file node_texture_bricks.cc.
References exec(), blender::bke::bNodeType::exec_fn, blender::bke::bNodeType::flag, init(), blender::bke::bNodeType::initfunc, blender::bke::Middle, NODE_CLASS_PATTERN, NODE_PREVIEW, blender::bke::node_register_type(), blender::bke::node_type_size_preset(), blender::bke::node_type_socket_templates(), and tex_node_type_base().
Referenced by register_texture_nodes().
|
static |
Definition at line 16 of file node_texture_bricks.cc.
|
static |
Definition at line 26 of file node_texture_bricks.cc.