Blender V4.5
blender::nodes::decl::Material Class Reference

#include <NOD_socket_declarations.hh>

Inherits blender::nodes::decl::IDSocketDeclaration.

Public Types

using Builder = IDSocketDeclarationBuilder<Material>
 

Public Member Functions

#IDSocketDeclaration and Children Inline Methods
 Material ()
 
- Public Member Functions inherited from blender::nodes::decl::IDSocketDeclaration
 IDSocketDeclaration (const char *idname)
 
bNodeSocketbuild (bNodeTree &ntree, bNode &node) const override
 
bool matches (const bNodeSocket &socket) const override
 
bNodeSocketupdate_or_build (bNodeTree &ntree, bNode &node, bNodeSocket &socket) const override
 
bool can_connect (const bNodeSocket &socket) const override
 
- Public Member Functions inherited from blender::nodes::SocketDeclaration
 ~SocketDeclaration () override=default
 
void make_available (bNode &node) const
 
const CompositorInputRealizationModecompositor_realization_mode () const
 
int compositor_domain_priority () const
 
bool compositor_expects_single_value () const
 
- Public Member Functions inherited from blender::nodes::ItemDeclaration
virtual ~ItemDeclaration ()=default
 

Static Public Attributes

static constexpr eNodeSocketDatatype static_socket_type = SOCK_MATERIAL
 

Additional Inherited Members

- Public Attributes inherited from blender::nodes::decl::IDSocketDeclaration
const char * idname
 
std::function< ID *(const bNode &node)> default_value_fn
 
- Public Attributes inherited from blender::nodes::SocketDeclaration
std::string name
 
std::string short_label
 
std::string identifier
 
std::string description
 
std::optional< std::string > translation_context
 
eNodeSocketInOut in_out
 
eNodeSocketDatatype socket_type
 
bool hide_label = false
 
bool hide_value = false
 
bool compact = false
 
bool is_multi_input = false
 
bool no_mute_links = false
 
bool is_available = true
 
bool is_attribute_name = false
 
bool is_default_link_socket = false
 
bool align_with_previous_socket = false
 
bool is_panel_toggle = false
 
bool is_layer_name = false
 
int index = -1
 
InputSocketFieldType input_field_type = InputSocketFieldType::None
 
OutputFieldDependency output_field_dependency
 
StructureType structure_type = StructureType::Single
 
NodeDefaultInputType default_input_type = NodeDefaultInputType::NODE_DEFAULT_INPUT_VALUE
 
std::unique_ptr< SocketNameRNAsocket_name_rna
 
std::unique_ptr< CustomSocketDrawFncustom_draw_fn
 
friend NodeDeclarationBuilder
 
- Public Attributes inherited from blender::nodes::ItemDeclaration
const PanelDeclarationparent = nullptr
 
- Protected Member Functions inherited from blender::nodes::SocketDeclaration
void set_common_flags (bNodeSocket &socket) const
 
bool matches_common_data (const bNodeSocket &socket) const
 

Detailed Description

Definition at line 321 of file NOD_socket_declarations.hh.

Member Typedef Documentation

◆ Builder

using blender::nodes::decl::Material::Builder = IDSocketDeclarationBuilder<Material>

Definition at line 325 of file NOD_socket_declarations.hh.

Constructor & Destructor Documentation

◆ Material()

Material::Material ( )
inlinedefault

Definition at line 619 of file NOD_socket_declarations.hh.

Member Data Documentation

◆ static_socket_type

eNodeSocketDatatype blender::nodes::decl::Material::static_socket_type = SOCK_MATERIAL
staticconstexpr

Definition at line 323 of file NOD_socket_declarations.hh.


The documentation for this class was generated from the following files: