Blender V5.3
blender::CustomDataLayer Struct Reference

#include <DNA_customdata_types.h>

Public Attributes

eCustomDataType type = {}
int offset = 0
eCustomDataLayer_Flag flag = {}
int active = 0
int active_rnd = 0
int uid = 0
char name [68] = ""
char _pad1 [4] = {}
void * data = nullptr
const ImplicitSharingInfoHandle * sharing_info = nullptr

Detailed Description

Descriptor and storage for a custom data layer.

Definition at line 207 of file DNA_customdata_types.h.

Member Data Documentation

◆ _pad1

Definition at line 222 of file DNA_customdata_types.h.

◆ active

Number of the active layer of this type.

Definition at line 215 of file DNA_customdata_types.h.

Referenced by blender::customData_add_layer__internal(), and blender::customdata_merge_internal().

◆ active_rnd

Number of the layer to render.

Definition at line 217 of file DNA_customdata_types.h.

Referenced by blender::customData_add_layer__internal(), and blender::customdata_merge_internal().

◆ data

◆ flag

◆ name

◆ offset

◆ sharing_info

Run-time data that allows sharing data with other entities (mostly custom data layers on other geometries).

Definition at line 229 of file DNA_customdata_types.h.

Referenced by blender::customData_add_layer__internal(), and blender::customdata_merge_internal().

◆ type

◆ uid

Shape key-block unique id reference.

Definition at line 219 of file DNA_customdata_types.h.

Referenced by blender::ed::object::add_shapekey_layers(), and blender::customdata_merge_internal().


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