Blender V5.3
blender::GreasePencil Struct Reference

#include <DNA_grease_pencil_types.h>

Public Attributes

ID id
struct AnimData * adt = nullptr
GreasePencilDrawingBase ** drawing_array = nullptr
int drawing_array_num = 0
char _pad [4] = {}
GreasePencilLayerTreeGroup * root_group_ptr = nullptr
CustomData layers_data_legacy
struct AttributeStorage attribute_storage
int attributes_active_index = -1
char _pad2 [4] = {}
GreasePencilLayerTreeNode * active_node = nullptr
struct Material ** material_array = nullptr
short material_array_num = 0
char _pad3 [2] = {}
GreasePencilFlag flag = GREASE_PENCIL_ANIM_CHANNEL_EXPANDED
ListBaseT< bDeformGroup > vertex_group_names = {nullptr, nullptr}
int vertex_group_active_index = 0
char _pad4 [4] = {}
GreasePencilOnionSkinningSettings onion_skinning_settings
bke::GreasePencilRuntime * runtime = nullptr

Detailed Description

The grease pencil data-block.

Definition at line 441 of file DNA_grease_pencil_types.h.

Member Data Documentation

◆ _pad

char blender::GreasePencil::_pad[4] = {}

Definition at line 458 of file DNA_grease_pencil_types.h.

◆ _pad2

char blender::GreasePencil::_pad2[4] = {}

Definition at line 477 of file DNA_grease_pencil_types.h.

◆ _pad3

char blender::GreasePencil::_pad3[2] = {}

Definition at line 490 of file DNA_grease_pencil_types.h.

◆ _pad4

char blender::GreasePencil::_pad4[4] = {}

Definition at line 498 of file DNA_grease_pencil_types.h.

◆ active_node

GreasePencilLayerTreeNode* blender::GreasePencil::active_node = nullptr

Pointer to the active node. Can be NULL. This pointer does not own the data.

Definition at line 483 of file DNA_grease_pencil_types.h.

◆ adt

struct AnimData* blender::GreasePencil::adt = nullptr

Animation data.

Definition at line 449 of file DNA_grease_pencil_types.h.

◆ attribute_storage

struct AttributeStorage blender::GreasePencil::attribute_storage

Layer domain attributes.

Definition at line 469 of file DNA_grease_pencil_types.h.

◆ attributes_active_index

int blender::GreasePencil::attributes_active_index = -1

The index of the active attribute in the UI.

Set to -1 when none is active.

Definition at line 476 of file DNA_grease_pencil_types.h.

◆ drawing_array

GreasePencilDrawingBase** blender::GreasePencil::drawing_array = nullptr

An array of pointers to drawings. The drawing can own its data or reference it from another data-block. Note that the order of this array is arbitrary. The mapping of drawings to frames is done by the layers. See the Layer class in BKE_grease_pencil.hh.

Definition at line 456 of file DNA_grease_pencil_types.h.

◆ drawing_array_num

int blender::GreasePencil::drawing_array_num = 0

Definition at line 457 of file DNA_grease_pencil_types.h.

◆ flag

Global flag on the data-block.

Definition at line 494 of file DNA_grease_pencil_types.h.

◆ id

ID blender::GreasePencil::id

Definition at line 447 of file DNA_grease_pencil_types.h.

◆ layers_data_legacy

CustomData blender::GreasePencil::layers_data_legacy

Used only for backward compatibility with old files.

Definition at line 464 of file DNA_grease_pencil_types.h.

◆ material_array

struct Material** blender::GreasePencil::material_array = nullptr

An array of materials.

Definition at line 488 of file DNA_grease_pencil_types.h.

◆ material_array_num

short blender::GreasePencil::material_array_num = 0

Definition at line 489 of file DNA_grease_pencil_types.h.

◆ onion_skinning_settings

GreasePencilOnionSkinningSettings blender::GreasePencil::onion_skinning_settings

Onion skinning settings.

Definition at line 503 of file DNA_grease_pencil_types.h.

◆ root_group_ptr

GreasePencilLayerTreeGroup* blender::GreasePencil::root_group_ptr = nullptr

Definition at line 461 of file DNA_grease_pencil_types.h.

◆ runtime

bke::GreasePencilRuntime* blender::GreasePencil::runtime = nullptr

Runtime struct pointer.

Definition at line 507 of file DNA_grease_pencil_types.h.

◆ vertex_group_active_index

int blender::GreasePencil::vertex_group_active_index = 0

Definition at line 497 of file DNA_grease_pencil_types.h.

◆ vertex_group_names

ListBaseT<bDeformGroup> blender::GreasePencil::vertex_group_names = {nullptr, nullptr}

Definition at line 496 of file DNA_grease_pencil_types.h.


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