|
Blender
V3.3
|
#include <stdio.h>#include "DNA_gpencil_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.h"#include "BKE_context.h"#include "BKE_lib_query.h"#include "BKE_modifier.h"#include "BKE_screen.h"#include "BKE_shader_fx.h"#include "UI_interface.h"#include "UI_resources.h"#include "RNA_access.h"#include "FX_shader_types.h"#include "FX_ui_common.h"#include "DEG_depsgraph.h"#include "DEG_depsgraph_build.h"Go to the source code of this file.
Functions | |
| static void | initData (ShaderFxData *md) |
| static void | copyData (const ShaderFxData *md, ShaderFxData *target) |
| static void | updateDepsgraph (ShaderFxData *fx, const ModifierUpdateDepsgraphContext *ctx) |
| static bool | isDisabled (ShaderFxData *fx, int UNUSED(userRenderParams)) |
| static void | foreachIDLink (ShaderFxData *fx, Object *ob, IDWalkFunc walk, void *userData) |
| static void | panel_draw (const bContext *UNUSED(C), Panel *panel) |
| static void | panelRegister (ARegionType *region_type) |
Variables | |
| ShaderFxTypeInfo | shaderfx_Type_Swirl |
|
static |
Definition at line 44 of file FX_shader_swirl.c.
References BKE_shaderfx_copydata_generic().
|
static |
Definition at line 65 of file FX_shader_swirl.c.
References IDWALK_CB_NOP, and SwirlShaderFxData::object.
|
static |
Definition at line 37 of file FX_shader_swirl.c.
References SwirlShaderFxData::angle, M_PI_2, and SwirlShaderFxData::radius.
|
static |
Definition at line 58 of file FX_shader_swirl.c.
References SwirlShaderFxData::object.
Definition at line 72 of file FX_shader_swirl.c.
References Panel::layout, NULL, ptr, shaderfx_panel_end(), shaderfx_panel_get_property_pointers(), uiItemR(), and uiLayoutSetPropSep().
Referenced by panelRegister().
|
static |
Definition at line 87 of file FX_shader_swirl.c.
References eShaderFxType_Swirl, panel_draw(), and shaderfx_panel_register().
|
static |
Definition at line 49 of file FX_shader_swirl.c.
References DEG_add_object_relation(), DEG_OB_COMP_TRANSFORM, ModifierUpdateDepsgraphContext::node, NULL, ModifierUpdateDepsgraphContext::object, and SwirlShaderFxData::object.
| ShaderFxTypeInfo shaderfx_Type_Swirl |
Definition at line 92 of file FX_shader_swirl.c.