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_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 | blur_panel_draw (const bContext *UNUSED(C), Panel *panel) |
static void | wave_header_draw (const bContext *UNUSED(C), Panel *panel) |
static void | wave_panel_draw (const bContext *UNUSED(C), Panel *panel) |
static void | panelRegister (ARegionType *region_type) |
Variables | |
ShaderFxTypeInfo | shaderfx_Type_Shadow |
Definition at line 110 of file FX_shader_shadow.c.
References col, IFACE_, Panel::layout, NULL, ptr, RNA_struct_find_property(), shaderfx_panel_get_property_pointers(), uiItemFullR(), uiItemR(), uiLayoutColumn(), and uiLayoutSetPropSep().
Referenced by panelRegister().
|
static |
Definition at line 55 of file FX_shader_shadow.c.
References BKE_shaderfx_copydata_generic().
|
static |
Definition at line 76 of file FX_shader_shadow.c.
References IDWALK_CB_NOP, and ShadowShaderFxData::object.
|
static |
Definition at line 36 of file FX_shader_shadow.c.
References ShadowShaderFxData::amplitude, ARRAY_SET_ITEMS, ShadowShaderFxData::blur, NULL, ShadowShaderFxData::object, ShadowShaderFxData::offset, ShadowShaderFxData::orientation, ShadowShaderFxData::period, ShadowShaderFxData::phase, ShadowShaderFxData::rotation, ShadowShaderFxData::samples, ShadowShaderFxData::scale, and ShadowShaderFxData::shadow_rgba.
|
static |
Definition at line 69 of file FX_shader_shadow.c.
References ShadowShaderFxData::flag, FX_SHADOW_USE_OBJECT, and ShadowShaderFxData::object.
Definition at line 83 of file FX_shader_shadow.c.
References col, IFACE_, Panel::layout, NULL, ptr, RNA_struct_find_property(), shaderfx_panel_end(), shaderfx_panel_get_property_pointers(), uiItemFullR(), uiItemR(), uiLayoutColumn(), uiLayoutRowWithHeading(), and uiLayoutSetPropSep().
Referenced by panelRegister().
|
static |
Definition at line 153 of file FX_shader_shadow.c.
References blur_panel_draw(), eShaderFxType_Shadow, NULL, panel_draw(), shaderfx_panel_register(), shaderfx_subpanel_register(), wave_header_draw(), and wave_panel_draw().
|
static |
Definition at line 60 of file FX_shader_shadow.c.
References DEG_add_object_relation(), DEG_OB_COMP_TRANSFORM, ModifierUpdateDepsgraphContext::node, NULL, ModifierUpdateDepsgraphContext::object, and ShadowShaderFxData::object.
Definition at line 128 of file FX_shader_shadow.c.
References IFACE_, Panel::layout, NULL, ptr, shaderfx_panel_get_property_pointers(), and uiItemR().
Referenced by panelRegister().
Definition at line 137 of file FX_shader_shadow.c.
References Panel::layout, NULL, ptr, RNA_boolean_get(), shaderfx_panel_get_property_pointers(), UI_ITEM_R_EXPAND, uiItemR(), uiLayoutSetActive(), and uiLayoutSetPropSep().
Referenced by panelRegister().
ShaderFxTypeInfo shaderfx_Type_Shadow |
Definition at line 161 of file FX_shader_shadow.c.