|
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_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 | blur_panel_draw (const bContext *, Panel *panel) |
| static void | wave_header_draw (const bContext *, Panel *panel) |
| static void | wave_panel_draw (const bContext *, Panel *panel) |
| static void | panel_register (ARegionType *region_type) |
Variables | |
| ShaderFxTypeInfo | shaderfx_Type_Shadow |
Definition at line 111 of file FX_shader_shadow.cc.
References col, IFACE_, Panel::layout, ptr, RNA_struct_find_property(), shaderfx_panel_get_property_pointers(), UI_ITEM_NONE, uiItemFullR(), uiItemR(), uiLayoutColumn(), and uiLayoutSetPropSep().
Referenced by panel_register().
|
static |
Definition at line 56 of file FX_shader_shadow.cc.
References BKE_shaderfx_copydata_generic().
|
static |
Definition at line 77 of file FX_shader_shadow.cc.
References IDWALK_CB_NOP, and ShadowShaderFxData::object.
|
static |
Definition at line 37 of file FX_shader_shadow.cc.
References ShadowShaderFxData::amplitude, ARRAY_SET_ITEMS, ShadowShaderFxData::blur, ShadowShaderFxData::object, ShadowShaderFxData::offset, ShadowShaderFxData::orientation, ShadowShaderFxData::period, ShadowShaderFxData::phase, ShadowShaderFxData::rotation, ShadowShaderFxData::samples, ShadowShaderFxData::scale, and ShadowShaderFxData::shadow_rgba.
|
static |
Definition at line 70 of file FX_shader_shadow.cc.
References ShadowShaderFxData::flag, FX_SHADOW_USE_OBJECT, and ShadowShaderFxData::object.
Definition at line 84 of file FX_shader_shadow.cc.
References col, IFACE_, Panel::layout, ptr, RNA_struct_find_property(), shaderfx_panel_end(), shaderfx_panel_get_property_pointers(), UI_ITEM_NONE, uiItemFullR(), uiItemR(), uiLayoutColumn(), uiLayoutRowWithHeading(), and uiLayoutSetPropSep().
Referenced by panel_register().
|
static |
Definition at line 154 of file FX_shader_shadow.cc.
References blur_panel_draw(), eShaderFxType_Shadow, panel_draw(), shaderfx_panel_register(), shaderfx_subpanel_register(), wave_header_draw(), and wave_panel_draw().
|
static |
Definition at line 61 of file FX_shader_shadow.cc.
References DEG_add_object_relation(), DEG_OB_COMP_TRANSFORM, ModifierUpdateDepsgraphContext::node, ModifierUpdateDepsgraphContext::object, and ShadowShaderFxData::object.
Definition at line 129 of file FX_shader_shadow.cc.
References IFACE_, Panel::layout, ptr, shaderfx_panel_get_property_pointers(), UI_ITEM_NONE, and uiItemR().
Referenced by panel_register().
Definition at line 138 of file FX_shader_shadow.cc.
References Panel::layout, ptr, RNA_boolean_get(), shaderfx_panel_get_property_pointers(), UI_ITEM_NONE, UI_ITEM_R_EXPAND, uiItemR(), uiLayoutSetActive(), and uiLayoutSetPropSep().
Referenced by panel_register().
| ShaderFxTypeInfo shaderfx_Type_Shadow |
Definition at line 162 of file FX_shader_shadow.cc.