|
Blender V4.3
|
#include <cstdio>#include "DNA_gpencil_legacy_types.h"#include "DNA_object_types.h"#include "DNA_scene_types.h"#include "DNA_screen_types.h"#include "BLI_math_base.h"#include "BLI_utildefines.h"#include "BLT_translation.hh"#include "BKE_context.hh"#include "BKE_lib_query.hh"#include "BKE_modifier.hh"#include "BKE_screen.hh"#include "BKE_shader_fx.h"#include "UI_interface.hh"#include "UI_resources.hh"#include "RNA_access.hh"#include "FX_shader_types.h"#include "FX_ui_common.h"#include "DEG_depsgraph.hh"#include "DEG_depsgraph_build.hh"Go to the source code of this file.
Functions | |
| static void | init_data (ShaderFxData *md) |
| static void | copy_data (const ShaderFxData *md, ShaderFxData *target) |
| static void | update_depsgraph (ShaderFxData *fx, const ModifierUpdateDepsgraphContext *ctx) |
| static bool | is_disabled (ShaderFxData *fx, bool) |
| static void | foreach_ID_link (ShaderFxData *fx, Object *ob, IDWalkFunc walk, void *user_data) |
| static void | panel_draw (const bContext *, Panel *panel) |
| static void | panel_register (ARegionType *region_type) |
Variables | |
| ShaderFxTypeInfo | shaderfx_Type_Swirl |
|
static |
Definition at line 45 of file FX_shader_swirl.cc.
References BKE_shaderfx_copydata_generic().
|
static |
Definition at line 66 of file FX_shader_swirl.cc.
References IDWALK_CB_NOP, and SwirlShaderFxData::object.
|
static |
Definition at line 38 of file FX_shader_swirl.cc.
References SwirlShaderFxData::angle, M_PI_2, and SwirlShaderFxData::radius.
|
static |
Definition at line 59 of file FX_shader_swirl.cc.
References SwirlShaderFxData::object.
Definition at line 73 of file FX_shader_swirl.cc.
References Panel::layout, ptr, shaderfx_panel_end(), shaderfx_panel_get_property_pointers(), UI_ITEM_NONE, uiItemR(), and uiLayoutSetPropSep().
Referenced by panel_register().
|
static |
Definition at line 88 of file FX_shader_swirl.cc.
References eShaderFxType_Swirl, panel_draw(), and shaderfx_panel_register().
|
static |
Definition at line 50 of file FX_shader_swirl.cc.
References DEG_add_object_relation(), DEG_OB_COMP_TRANSFORM, ModifierUpdateDepsgraphContext::node, ModifierUpdateDepsgraphContext::object, and SwirlShaderFxData::object.
| ShaderFxTypeInfo shaderfx_Type_Swirl |
Definition at line 93 of file FX_shader_swirl.cc.