|
Blender V5.0
|
#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(), bNode::custom1, bNode::custom2, bNode::custom3, bNode::custom4, floor, in, MA_RAMP_BLEND, noise(), out, ramp_blend(), tex_input_rgba(), tex_input_value(), x, and y.
|
static |
Definition at line 96 of file node_texture_bricks.cc.
References colorfn(), data, in, out, and tex_output().
Definition at line 31 of file node_texture_bricks.cc.
References bNode::custom3, and bNode::custom4.
Referenced by blender::bke::add_custom_data_layer_from_attribute_init(), blender::nodes::node_geo_instance_on_points_cc::add_instances_from_component(), blender::bke::attribute_init_to_data(), blender::gpu::MTLFrameBuffer::bake_render_pass_descriptor(), BKE_mesh_legacy_convert_uvs_to_generic(), BMO_op_init(), blender::array_utils::booleans_mix_calc(), bounds_min_max_with_transform(), btSymMatrix< T >::btSymMatrix(), blender::bke::build_mesh_positions(), blender::ed::vse::ScopeHistogram::calc_from_ibuf(), blender::bke::calculate_type_counts(), blender::bke::compute_local_mesh_groups(), blender::array_utils::contains(), blender::nodes::node_geo_instances_to_points_cc::convert_instances_to_points(), blender::array_utils::count_booleans(), blender::gpu::MTLContext::debug_capture_begin(), deform_verts(), ED_area_type_hud_ensure(), ed_curves_select_pick(), ed_grease_pencil_select_pick(), blender::gpu::MTLContext::ensure_depth_stencil_state(), blender::ed::curves::find_closest_curve(), blender::ed::curves::find_closest_curve_to_screen_co(), blender::ed::curves::find_closest_point_to_screen_co(), blender::ed::pointcloud::find_closest_point_to_screen_co(), blender::ed::sculpt_paint::find_curves_brush_position(), blender::bke::pbvh::Tree::from_grids(), blender::bke::pbvh::Tree::from_mesh(), blender::bke::gather_attributes(), blender::nodes::node_geo_mesh_to_points_cc::geometry_set_mesh_to_points(), blender::nodes::node_geo_points_to_vertices_cc::geometry_set_points_to_vertices(), blender::gpu::MTLContextComputeUtils::get_buffer_clear_pso(), GHOST_ContextMTL::GHOST_ContextMTL(), ghost_fatal_error_dialog(), heapsimple_down(), blender::gpu::MTLTexture::init_internal(), blender::ed::sculpt_paint::load_tex(), blender::ed::sculpt_paint::load_tex_cursor(), blender::bounds::min_max(), blender::bounds::min_max(), blender::bounds::min_max_with_radii(), blender::gpu::MTLFrameBuffer::MTLFrameBuffer(), pointcloud_select_pick(), pygpu_buffer__tp_new(), register_node_type_tex_bricks(), register_node_type_tex_image(), register_node_type_tex_output(), blender::gpu::MTLBackend::render_begin(), blender::gpu::MTLBackend::render_step(), blender::ed::sculpt_paint::replace_attribute(), btSymMatrix< T >::resize(), blender::gpu::MTLContext::sampler_state_cache_init(), blender::ed::transform::snap_object_data_editmesh_get(), blender::seq::tonemap_calc_input_luminance(), blender::bke::try_add_shared_field_attribute(), blender::ed::greasepencil::weight_sample_invoke(), WM_tooltip_immediate_init(), WM_tooltip_timer_init(), and WM_tooltip_timer_init_ex().
|
static |
Definition at line 37 of file node_texture_bricks.cc.
References float.
Referenced by add_node(), colorfn(), compute_2d_gabor_noise_cell(), compute_3d_gabor_noise_cell(), MANTA::exportSmokeScript(), fcm_noise_evaluate(), ProcDef(), ProcNoInputs(), safe_noise(), safe_noise(), safe_noise(), safe_noise(), safe_snoise(), safe_snoise(), safe_snoise(), safe_snoise(), Freestyle::SpatialNoiseShader::shade(), TexDef(), 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.
|
static |
Definition at line 26 of file node_texture_bricks.cc.