Blender V5.3
blender::FunctionRNA Struct Reference

#include <rna_internal_types.hh>

Public Attributes

ContainerRNA cont = {}
UString identifier
FunctionFlag flag = {}
const char * description = nullptr
CallFunc call = {}
PropertyRNA * c_ret = nullptr

Detailed Description

Definition at line 375 of file rna_internal_types.hh.

Member Data Documentation

◆ c_ret

PropertyRNA* blender::FunctionRNA::c_ret = nullptr

Parameter for the return value.

Note
this is only the C return value, rna functions can have multiple return values.

Definition at line 395 of file rna_internal_types.hh.

Referenced by blender::rna_def_function_funcs(), blender::RNA_def_function_return(), blender::rna_def_function_wrapper_funcs(), and blender::rna_generate_static_parameter_prototypes().

◆ call

CallFunc blender::FunctionRNA::call = {}

Callback to execute the function.

Definition at line 388 of file rna_internal_types.hh.

Referenced by blender::RNA_function_call(), and blender::RNA_function_defined().

◆ cont

◆ description

const char* blender::FunctionRNA::description = nullptr

Single line description, displayed in the tool-tip for example.

Definition at line 385 of file rna_internal_types.hh.

Referenced by blender::RNA_def_function_ui_description(), blender::RNA_function_ui_description(), and blender::RNA_function_ui_description_raw().

◆ flag

◆ identifier


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