Blender V4.3
rna_asset.cc File Reference
#include <cstdlib>
#include "BLT_translation.hh"
#include "RNA_define.hh"
#include "RNA_enum_types.hh"
#include "DNA_asset_types.h"
#include "DNA_defs.h"
#include "DNA_space_types.h"
#include "rna_internal.hh"

Go to the source code of this file.

Functions

static void rna_def_asset_tag (BlenderRNA *brna)
 
static void rna_def_asset_tags_api (BlenderRNA *brna, PropertyRNA *cprop)
 
static void rna_def_asset_data (BlenderRNA *brna)
 
static void rna_def_asset_handle (BlenderRNA *brna)
 
static void rna_def_asset_representation (BlenderRNA *brna)
 
static void rna_def_asset_catalog_path (BlenderRNA *brna)
 
static void rna_def_asset_library_reference (BlenderRNA *brna)
 
PropertyRNArna_def_asset_library_reference_common (StructRNA *srna, const char *get, const char *set)
 
static void rna_def_asset_weak_reference (BlenderRNA *brna)
 
void RNA_def_asset (BlenderRNA *brna)
 

Variables

const EnumPropertyItem rna_enum_asset_library_type_items []
 

Function Documentation

◆ RNA_def_asset()

◆ rna_def_asset_catalog_path()

static void rna_def_asset_catalog_path ( BlenderRNA * brna)
static

Definition at line 707 of file rna_asset.cc.

References RNA_def_struct(), and RNA_def_struct_ui_text().

Referenced by RNA_def_asset().

◆ rna_def_asset_data()

◆ rna_def_asset_handle()

◆ rna_def_asset_library_reference()

static void rna_def_asset_library_reference ( BlenderRNA * brna)
static

Definition at line 713 of file rna_asset.cc.

References RNA_def_struct(), and RNA_def_struct_ui_text().

Referenced by RNA_def_asset().

◆ rna_def_asset_library_reference_common()

PropertyRNA * rna_def_asset_library_reference_common ( StructRNA * srna,
const char * get,
const char * set )

◆ rna_def_asset_representation()

◆ rna_def_asset_tag()

◆ rna_def_asset_tags_api()

◆ rna_def_asset_weak_reference()

Variable Documentation

◆ rna_enum_asset_library_type_items

const EnumPropertyItem rna_enum_asset_library_type_items[]
Initial value:
= {
"ALL",
0,
"All Libraries",
"Show assets from all of the listed asset libraries"},
"LOCAL",
0,
"Current File",
"Show the assets currently available in this Blender session"},
"ESSENTIALS",
0,
"Essentials",
"Show the basic building blocks and utilities coming with Blender"},
"CUSTOM",
0,
"Custom",
"Show assets from the asset libraries configured in the Preferences"},
{0, nullptr, 0, nullptr, nullptr},
}
@ ASSET_LIBRARY_CUSTOM
@ ASSET_LIBRARY_ESSENTIALS
@ ASSET_LIBRARY_LOCAL
@ ASSET_LIBRARY_ALL

Definition at line 22 of file rna_asset.cc.

Referenced by blender::ed::asset::library_reference_to_rna_enum_itemf(), blender::ed::asset::operator_asset_reference_props_register(), rna_def_asset_library_reference_common(), and rna_def_asset_weak_reference().