Blender  V3.3
Public Member Functions | List of all members
blender::ed::asset::index::AssetEntryWriter Struct Reference

Public Member Functions

 AssetEntryWriter (DictionaryValue &entry)
 
void add_id_name (const short idcode, const StringRefNull name)
 add id + name to the attributes. More...
 
void add_catalog_id (const CatalogID &catalog_id)
 
void add_catalog_name (const StringRefNull catalog_name)
 
void add_description (const StringRefNull description)
 
void add_author (const StringRefNull author)
 
void add_tags (const ListBase *asset_tags)
 
void add_properties (const IDProperty *properties)
 

Detailed Description

Definition at line 224 of file asset_indexer.cc.

Constructor & Destructor Documentation

◆ AssetEntryWriter()

blender::ed::asset::index::AssetEntryWriter::AssetEntryWriter ( DictionaryValue entry)
inline

Definition at line 229 of file asset_indexer.cc.

Member Function Documentation

◆ add_author()

void blender::ed::asset::index::AssetEntryWriter::add_author ( const StringRefNull  author)
inline

◆ add_catalog_id()

void blender::ed::asset::index::AssetEntryWriter::add_catalog_id ( const CatalogID catalog_id)
inline

◆ add_catalog_name()

void blender::ed::asset::index::AssetEntryWriter::add_catalog_name ( const StringRefNull  catalog_name)
inline

◆ add_description()

void blender::ed::asset::index::AssetEntryWriter::add_description ( const StringRefNull  description)
inline

◆ add_id_name()

void blender::ed::asset::index::AssetEntryWriter::add_id_name ( const short  idcode,
const StringRefNull  name 
)
inline

add id + name to the attributes.

NOTE: id and name are encoded like ID.name

Definition at line 238 of file asset_indexer.cc.

References blender::ed::asset::index::ATTRIBUTE_ENTRIES_NAME().

◆ add_properties()

void blender::ed::asset::index::AssetEntryWriter::add_properties ( const IDProperty properties)
inline

◆ add_tags()

void blender::ed::asset::index::AssetEntryWriter::add_tags ( const ListBase asset_tags)
inline

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