Blender  V2.93
Namespaces | Functions | Variables
node_geo_attribute_mix.cc File Reference
#include "BKE_material.h"
#include "DNA_material_types.h"
#include "UI_interface.h"
#include "UI_resources.h"
#include "node_geometry_util.hh"

Go to the source code of this file.

Namespaces

 blender
 
 blender::nodes
 

Functions

static void geo_node_attribute_mix_layout (uiLayout *layout, bContext *UNUSED(C), PointerRNA *ptr)
 
static void blender::nodes::do_mix_operation_float (const int blend_mode, const FloatReadAttribute &factors, const FloatReadAttribute &inputs_a, const FloatReadAttribute &inputs_b, FloatWriteAttribute results)
 
static void blender::nodes::do_mix_operation_float3 (const int blend_mode, const FloatReadAttribute &factors, const Float3ReadAttribute &inputs_a, const Float3ReadAttribute &inputs_b, Float3WriteAttribute results)
 
static void blender::nodes::do_mix_operation_color4f (const int blend_mode, const FloatReadAttribute &factors, const Color4fReadAttribute &inputs_a, const Color4fReadAttribute &inputs_b, Color4fWriteAttribute results)
 
static void blender::nodes::do_mix_operation (const CustomDataType result_type, int blend_mode, const FloatReadAttribute &attribute_factor, const ReadAttribute &attribute_a, const ReadAttribute &attribute_b, WriteAttribute &attribute_result)
 
static AttributeDomain blender::nodes::get_result_domain (const GeometryComponent &component, const GeoNodeExecParams &params, StringRef result_name)
 
static void blender::nodes::attribute_mix_calc (GeometryComponent &component, const GeoNodeExecParams &params)
 
static void blender::nodes::geo_node_attribute_mix_exec (GeoNodeExecParams params)
 
static void blender::nodes::geo_node_attribute_mix_init (bNodeTree *UNUSED(ntree), bNode *node)
 
static void blender::nodes::geo_node_attribute_mix_update (bNodeTree *UNUSED(ntree), bNode *node)
 
void register_node_type_geo_attribute_mix ()
 

Variables

static bNodeSocketTemplate geo_node_attribute_mix_in []
 
static bNodeSocketTemplate geo_node_mix_attribute_out []
 

Function Documentation

◆ geo_node_attribute_mix_layout()

static void geo_node_attribute_mix_layout ( uiLayout layout,
bContext UNUSEDC,
PointerRNA ptr 
)
static

◆ register_node_type_geo_attribute_mix()

void register_node_type_geo_attribute_mix ( void  )

Variable Documentation

◆ geo_node_attribute_mix_in

bNodeSocketTemplate geo_node_attribute_mix_in[]
static
Initial value:
= {
{SOCK_GEOMETRY, N_("Geometry")},
{SOCK_STRING, N_("Factor")},
{SOCK_FLOAT, N_("Factor"), 0.5, 0.0, 0.0, 0.0, 0.0, 1.0, PROP_FACTOR},
{SOCK_STRING, N_("A")},
{SOCK_FLOAT, N_("A"), 0.0, 0.0, 0.0, 0.0, -FLT_MAX, FLT_MAX},
{SOCK_VECTOR, N_("A"), 0.0, 0.0, 0.0, 0.0, -FLT_MAX, FLT_MAX},
{SOCK_RGBA, N_("A"), 0.5, 0.5, 0.5, 1.0},
{SOCK_STRING, N_("B")},
{SOCK_FLOAT, N_("B"), 0.0, 0.0, 0.0, 0.0, -FLT_MAX, FLT_MAX},
{SOCK_VECTOR, N_("B"), 0.0, 0.0, 0.0, 0.0, -FLT_MAX, FLT_MAX},
{SOCK_RGBA, N_("B"), 0.5, 0.5, 0.5, 1.0},
{SOCK_STRING, N_("Result")},
{-1, ""},
}
#define N_(msgid)
@ SOCK_VECTOR
@ SOCK_FLOAT
@ SOCK_GEOMETRY
@ SOCK_STRING
@ SOCK_RGBA
@ PROP_FACTOR
Definition: RNA_types.h:131

Definition at line 26 of file node_geo_attribute_mix.cc.

Referenced by register_node_type_geo_attribute_mix().

◆ geo_node_mix_attribute_out

bNodeSocketTemplate geo_node_mix_attribute_out[]
static
Initial value:
= {
{SOCK_GEOMETRY, N_("Geometry")},
{-1, ""},
}

Definition at line 42 of file node_geo_attribute_mix.cc.

Referenced by register_node_type_geo_attribute_mix().