|
Blender V5.3
|
#include <NOD_geometry_nodes_list.hh>
Public Member Functions | |
| void | count_memory (MemoryCounter &memory, const CPPType &type) const |
| GMutablePointer | value_for_write (const CPPType &type) |
Static Public Member Functions | |
| static SingleData | ForValue (const GPointer &value) |
| static SingleData | ForDefaultValue (const CPPType &type) |
Public Attributes | |
| const void * | value |
| ImplicitSharingPtr | sharing_info |
Definition at line 42 of file NOD_geometry_nodes_list.hh.
| void blender::nodes::GList::SingleData::count_memory | ( | MemoryCounter & | memory, |
| const CPPType & | type ) const |
Definition at line 205 of file geometry_nodes_list.cc.
References blender::memory_counter::MemoryCounter::add(), and blender::CPPType::size.
|
static |
Definition at line 70 of file geometry_nodes_list.cc.
References blender::CPPType::default_value(), ForValue(), and blender::GPointer::GPointer().
Referenced by blender::bke::socket_value_visitor::tests::TEST_F().
|
static |
Definition at line 57 of file geometry_nodes_list.cc.
References array< T, alignment >::array(), blender::CPPType::copy_construct(), array< T, alignment >::data(), blender::nodes::GList::data(), blender::GPointer::get(), blender::ImplicitSharingPtr< T, IsStrong >::ImplicitSharingPtr, sharing_info, blender::GPointer::type(), and value.
Referenced by blender::bke::bake::deserialize_value_list(), ForDefaultValue(), blender::nodes::GList::from_single(), and value_for_write().
| GMutablePointer blender::nodes::GList::SingleData::value_for_write | ( | const CPPType & | type | ) |
Definition at line 223 of file geometry_nodes_list.cc.
References ForValue(), blender::GPointer::GPointer(), and sharing_info.
| ImplicitSharingPtr blender::nodes::GList::SingleData::sharing_info |
Definition at line 49 of file NOD_geometry_nodes_list.hh.
Referenced by ForValue(), and value_for_write().
| const void* blender::nodes::GList::SingleData::value |
This is const because it uses implicit sharing. In some contexts the const can be cast away when it's clear that the data is not shared.
Definition at line 48 of file NOD_geometry_nodes_list.hh.
Referenced by ForValue().