Blender V5.3
blender::bke::GList::ArrayData Class Reference

#include <NOD_geometry_nodes_list.hh>

Public Member Functions

void count_memory (MemoryCounter &memory, const CPPType &type, const int64_t size) const
GMutableSpan span_for_write (const CPPType &type, int64_t size)

Static Public Member Functions

static ArrayData ForValue (const GPointer &value, int64_t size)
static ArrayData ForDefaultValue (const CPPType &type, int64_t size)
static ArrayData ForConstructed (const CPPType &type, int64_t size)
static ArrayData ForUninitialized (const CPPType &type, int64_t size)

Public Attributes

const void * data
ImplicitSharingPtr sharing_info

Detailed Description

Definition at line 24 of file NOD_geometry_nodes_list.hh.

Member Function Documentation

◆ count_memory()

void blender::nodes::GList::ArrayData::count_memory ( MemoryCounter & memory,
const CPPType & type,
const int64_t size ) const

Definition at line 198 of file geometry_nodes_list.cc.

◆ ForConstructed()

◆ ForDefaultValue()

◆ ForUninitialized()

◆ ForValue()

Definition at line 27 of file geometry_nodes_list.cc.

◆ span_for_write()

Member Data Documentation

◆ data

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 30 of file NOD_geometry_nodes_list.hh.

◆ sharing_info


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