Blender V4.3
blender::bke::greasepencil::convert::ConversionData Struct Reference

Public Member Functions

 ConversionData (Main &bmain, BlendfileLinkAppendContext *lapp_context)
 

Public Attributes

Mainbmain
 
BlendfileLinkAppendContextlapp_context
 
Map< Library *, bNodeTree * > offset_radius_ntree_by_library = {}
 
Map< bGPdata *, GreasePencil * > legacy_to_greasepencil_data = {}
 

Detailed Description

Data shared across most of GP conversion code.

Definition at line 71 of file grease_pencil_convert_legacy.cc.

Constructor & Destructor Documentation

◆ ConversionData()

blender::bke::greasepencil::convert::ConversionData::ConversionData ( Main & bmain,
BlendfileLinkAppendContext * lapp_context )
inline

Definition at line 79 of file grease_pencil_convert_legacy.cc.

Member Data Documentation

◆ bmain

◆ lapp_context

BlendfileLinkAppendContext* blender::bke::greasepencil::convert::ConversionData::lapp_context

◆ legacy_to_greasepencil_data

Map<bGPdata *, GreasePencil *> blender::bke::greasepencil::convert::ConversionData::legacy_to_greasepencil_data = {}

A mapping between a legacy GPv2 ID and its converted GPv3 ID.

Definition at line 77 of file grease_pencil_convert_legacy.cc.

Referenced by blender::bke::greasepencil::convert::legacy_gpencil_object(), and blender::bke::greasepencil::convert::legacy_main().

◆ offset_radius_ntree_by_library

Map<Library *, bNodeTree *> blender::bke::greasepencil::convert::ConversionData::offset_radius_ntree_by_library = {}

A mapping between a library and a generated 'offset radius' node group.

Definition at line 75 of file grease_pencil_convert_legacy.cc.


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