Blender  V3.3
Classes | Macros | Functions | Variables
RNA_enum_types.h File Reference
#include "RNA_types.h"
#include "RNA_enum_items.h"

Go to the source code of this file.

Classes

struct  IDFilterEnumPropertyItem
 

Macros

#define DEF_ENUM(id)   extern const EnumPropertyItem id[];
 

Functions

const EnumPropertyItemrna_enum_attribute_domain_itemf (struct ID *id, bool include_instances, bool *r_free)
 
int rna_node_tree_type_to_enum (struct bNodeTreeType *typeinfo)
 
int rna_node_tree_idname_to_enum (const char *idname)
 
struct bNodeTreeTyperna_node_tree_type_from_enum (int value)
 
const EnumPropertyItemrna_node_tree_type_itemf (void *data, bool(*poll)(void *data, struct bNodeTreeType *), bool *r_free)
 
int rna_node_type_to_enum (struct bNodeType *typeinfo)
 
int rna_node_idname_to_enum (const char *idname)
 
struct bNodeTyperna_node_type_from_enum (int value)
 
const EnumPropertyItemrna_node_type_itemf (void *data, bool(*poll)(void *data, struct bNodeType *), bool *r_free)
 
int rna_node_socket_type_to_enum (struct bNodeSocketType *typeinfo)
 
int rna_node_socket_idname_to_enum (const char *idname)
 
struct bNodeSocketTyperna_node_socket_type_from_enum (int value)
 
const EnumPropertyItemrna_node_socket_type_itemf (void *data, bool(*poll)(void *data, struct bNodeSocketType *), bool *r_free)
 
const EnumPropertyItemrna_TransformOrientation_itemf (struct bContext *C, struct PointerRNA *ptr, struct PropertyRNA *prop, bool *r_free)
 
const EnumPropertyItemRNA_action_itemf (struct bContext *C, struct PointerRNA *ptr, struct PropertyRNA *prop, bool *r_free)
 
const EnumPropertyItemRNA_collection_itemf (struct bContext *C, struct PointerRNA *ptr, struct PropertyRNA *prop, bool *r_free)
 
const EnumPropertyItemRNA_collection_local_itemf (struct bContext *C, struct PointerRNA *ptr, struct PropertyRNA *prop, bool *r_free)
 
const EnumPropertyItemRNA_image_itemf (struct bContext *C, struct PointerRNA *ptr, struct PropertyRNA *prop, bool *r_free)
 
const EnumPropertyItemRNA_image_local_itemf (struct bContext *C, struct PointerRNA *ptr, struct PropertyRNA *prop, bool *r_free)
 
const EnumPropertyItemRNA_scene_itemf (struct bContext *C, struct PointerRNA *ptr, struct PropertyRNA *prop, bool *r_free)
 
const EnumPropertyItemRNA_scene_without_active_itemf (struct bContext *C, struct PointerRNA *ptr, struct PropertyRNA *prop, bool *r_free)
 
const EnumPropertyItemRNA_scene_local_itemf (struct bContext *C, struct PointerRNA *ptr, struct PropertyRNA *prop, bool *r_free)
 
const EnumPropertyItemRNA_movieclip_itemf (struct bContext *C, struct PointerRNA *ptr, struct PropertyRNA *prop, bool *r_free)
 
const EnumPropertyItemRNA_movieclip_local_itemf (struct bContext *C, struct PointerRNA *ptr, struct PropertyRNA *prop, bool *r_free)
 
const EnumPropertyItemRNA_mask_itemf (struct bContext *C, struct PointerRNA *ptr, struct PropertyRNA *prop, bool *r_free)
 
const EnumPropertyItemRNA_mask_local_itemf (struct bContext *C, struct PointerRNA *ptr, struct PropertyRNA *prop, bool *r_free)
 
const EnumPropertyItemRNA_enum_node_tree_types_itemf_impl (struct bContext *C, bool *r_free)
 

Variables

const struct IDFilterEnumPropertyItem rna_enum_id_type_filter_items []
 

Macro Definition Documentation

◆ DEF_ENUM

#define DEF_ENUM (   id)    extern const EnumPropertyItem id[];

Definition at line 21 of file RNA_enum_types.h.

Function Documentation

◆ RNA_action_itemf()

const EnumPropertyItem* RNA_action_itemf ( struct bContext C,
struct PointerRNA ptr,
struct PropertyRNA prop,
bool r_free 
)

Generic functions, return an enum from library data, index is the position in the linked list can add more for different types as needed.

Referenced by NLA_OT_actionclip_add(), and OUTLINER_OT_action_set().

◆ RNA_collection_itemf()

const EnumPropertyItem* RNA_collection_itemf ( struct bContext C,
struct PointerRNA ptr,
struct PropertyRNA prop,
bool r_free 
)

◆ RNA_collection_local_itemf()

const EnumPropertyItem* RNA_collection_local_itemf ( struct bContext C,
struct PointerRNA ptr,
struct PropertyRNA prop,
bool r_free 
)

◆ rna_enum_attribute_domain_itemf()

const EnumPropertyItem* rna_enum_attribute_domain_itemf ( struct ID id,
bool  include_instances,
bool r_free 
)

◆ RNA_enum_node_tree_types_itemf_impl()

const EnumPropertyItem* RNA_enum_node_tree_types_itemf_impl ( struct bContext C,
bool r_free 
)

◆ RNA_image_itemf()

const EnumPropertyItem* RNA_image_itemf ( struct bContext C,
struct PointerRNA ptr,
struct PropertyRNA prop,
bool r_free 
)

Referenced by PAINT_OT_project_image().

◆ RNA_image_local_itemf()

const EnumPropertyItem* RNA_image_local_itemf ( struct bContext C,
struct PointerRNA ptr,
struct PropertyRNA prop,
bool r_free 
)

◆ RNA_mask_itemf()

const EnumPropertyItem* RNA_mask_itemf ( struct bContext C,
struct PointerRNA ptr,
struct PropertyRNA prop,
bool r_free 
)

◆ RNA_mask_local_itemf()

const EnumPropertyItem* RNA_mask_local_itemf ( struct bContext C,
struct PointerRNA ptr,
struct PropertyRNA prop,
bool r_free 
)

◆ RNA_movieclip_itemf()

const EnumPropertyItem* RNA_movieclip_itemf ( struct bContext C,
struct PointerRNA ptr,
struct PropertyRNA prop,
bool r_free 
)

◆ RNA_movieclip_local_itemf()

const EnumPropertyItem* RNA_movieclip_local_itemf ( struct bContext C,
struct PointerRNA ptr,
struct PropertyRNA prop,
bool r_free 
)

◆ rna_node_idname_to_enum()

int rna_node_idname_to_enum ( const char *  idname)

◆ rna_node_socket_idname_to_enum()

int rna_node_socket_idname_to_enum ( const char *  idname)

◆ rna_node_socket_type_from_enum()

struct bNodeSocketType* rna_node_socket_type_from_enum ( int  value)

◆ rna_node_socket_type_itemf()

const EnumPropertyItem* rna_node_socket_type_itemf ( void data,
bool(*)(void *data, struct bNodeSocketType *)  poll,
bool r_free 
)

◆ rna_node_socket_type_to_enum()

int rna_node_socket_type_to_enum ( struct bNodeSocketType typeinfo)

◆ rna_node_tree_idname_to_enum()

int rna_node_tree_idname_to_enum ( const char *  idname)

◆ rna_node_tree_type_from_enum()

struct bNodeTreeType* rna_node_tree_type_from_enum ( int  value)

◆ rna_node_tree_type_itemf()

const EnumPropertyItem* rna_node_tree_type_itemf ( void data,
bool(*)(void *data, struct bNodeTreeType *)  poll,
bool r_free 
)

◆ rna_node_tree_type_to_enum()

int rna_node_tree_type_to_enum ( struct bNodeTreeType typeinfo)

◆ rna_node_type_from_enum()

struct bNodeType* rna_node_type_from_enum ( int  value)

◆ rna_node_type_itemf()

const EnumPropertyItem* rna_node_type_itemf ( void data,
bool(*)(void *data, struct bNodeType *)  poll,
bool r_free 
)

◆ rna_node_type_to_enum()

int rna_node_type_to_enum ( struct bNodeType typeinfo)

◆ RNA_scene_itemf()

const EnumPropertyItem* RNA_scene_itemf ( struct bContext C,
struct PointerRNA ptr,
struct PropertyRNA prop,
bool r_free 
)

◆ RNA_scene_local_itemf()

const EnumPropertyItem* RNA_scene_local_itemf ( struct bContext C,
struct PointerRNA ptr,
struct PropertyRNA prop,
bool r_free 
)

◆ RNA_scene_without_active_itemf()

const EnumPropertyItem* RNA_scene_without_active_itemf ( struct bContext C,
struct PointerRNA ptr,
struct PropertyRNA prop,
bool r_free 
)

◆ rna_TransformOrientation_itemf()

const EnumPropertyItem* rna_TransformOrientation_itemf ( struct bContext C,
struct PointerRNA ptr,
struct PropertyRNA prop,
bool r_free 
)

Variable Documentation

◆ rna_enum_id_type_filter_items

const struct IDFilterEnumPropertyItem rna_enum_id_type_filter_items[]
extern
Note
Uses IDFilterEnumPropertyItem, not EnumPropertyItem, to support 64 bit items.

Definition at line 75 of file rna_ID.c.

Referenced by rna_def_fileselect_asset_idfilter(), and rna_def_fileselect_idfilter().