Blender V5.3
blender::nodes::GList::SingleData Class Reference

#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

Detailed Description

Definition at line 42 of file NOD_geometry_nodes_list.hh.

Member Function Documentation

◆ count_memory()

void blender::nodes::GList::SingleData::count_memory ( MemoryCounter & memory,
const CPPType & type ) const

◆ ForDefaultValue()

GList::SingleData blender::nodes::GList::SingleData::ForDefaultValue ( const CPPType & type)
static

◆ ForValue()

◆ 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.

Member Data Documentation

◆ 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().

◆ value

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().


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