Blender V4.3
blender::fn::GFieldRef Class Reference

#include <FN_field.hh>

Inherits blender::fn::GFieldBase< const FieldNode * >.

Public Member Functions

 GFieldRef ()=default
 
 GFieldRef (const GField &field)
 
 GFieldRef (const FieldNode &node, const int node_output_index=0)
 
- Public Member Functions inherited from blender::fn::GFieldBase< const FieldNode * >
 GFieldBase ()=default
 
 operator bool () const
 
uint64_t hash () const
 
const CPPTypecpp_type () const
 
const FieldNodenode () const
 
int node_output_index () const
 

Additional Inherited Members

- Protected Member Functions inherited from blender::fn::GFieldBase< const FieldNode * >
 GFieldBase (const FieldNode *node, const int node_output_index)
 
- Protected Attributes inherited from blender::fn::GFieldBase< const FieldNode * >
const FieldNodenode_
 
int node_output_index_
 

Detailed Description

Same as #GField but is cheaper to copy/move around, because it does not contain a #std::shared_ptr.

Definition at line 165 of file FN_field.hh.

Constructor & Destructor Documentation

◆ GFieldRef() [1/3]

blender::fn::GFieldRef::GFieldRef ( )
default

◆ GFieldRef() [2/3]

blender::fn::GFieldRef::GFieldRef ( const GField & field)
inline

Definition at line 169 of file FN_field.hh.

◆ GFieldRef() [3/3]

blender::fn::GFieldRef::GFieldRef ( const FieldNode & node,
const int node_output_index = 0 )
inline

Definition at line 174 of file FN_field.hh.


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