Blender V4.3
IDFilterEnumPropertyItem Struct Reference

#include <RNA_enum_types.hh>

Public Attributes

const uint64_t flag
 
const char * identifier
 
const int icon
 
const char * name
 
const char * description
 

Detailed Description

For ID filters (FILTER_ID_AC, FILTER_ID_AR, ...) an int isn't enough. This version allows 64 bit integers. So can't use the regular EnumPropertyItem. Would be nice if RNA supported this itself.

Meant to be used with RNA_def_property_boolean_sdna() which supports 64 bit flags as well.

Definition at line 41 of file RNA_enum_types.hh.

Member Data Documentation

◆ description

const char* IDFilterEnumPropertyItem::description

Definition at line 46 of file RNA_enum_types.hh.

Referenced by rna_def_fileselect_asset_idfilter().

◆ flag

const uint64_t IDFilterEnumPropertyItem::flag

Definition at line 42 of file RNA_enum_types.hh.

Referenced by rna_def_fileselect_asset_idfilter().

◆ icon

const int IDFilterEnumPropertyItem::icon

Definition at line 44 of file RNA_enum_types.hh.

Referenced by rna_def_fileselect_asset_idfilter().

◆ identifier

const char* IDFilterEnumPropertyItem::identifier

◆ name

const char* IDFilterEnumPropertyItem::name

Definition at line 45 of file RNA_enum_types.hh.

Referenced by rna_def_fileselect_asset_idfilter().


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