Blender V4.3
FX_shader_shadow.cc File Reference
#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
 

Function Documentation

◆ blur_panel_draw()

static void blur_panel_draw ( const bContext * ,
Panel * panel )
static

◆ copy_data()

static void copy_data ( const ShaderFxData * md,
ShaderFxData * target )
static

Definition at line 56 of file FX_shader_shadow.cc.

References BKE_shaderfx_copydata_generic().

◆ foreach_ID_link()

static void foreach_ID_link ( ShaderFxData * fx,
Object * ob,
IDWalkFunc walk,
void * user_data )
static

Definition at line 77 of file FX_shader_shadow.cc.

References IDWALK_CB_NOP, and ShadowShaderFxData::object.

◆ init_data()

◆ is_disabled()

static bool is_disabled ( ShaderFxData * fx,
bool  )
static

◆ panel_draw()

◆ panel_register()

◆ update_depsgraph()

◆ wave_header_draw()

static void wave_header_draw ( const bContext * ,
Panel * panel )
static

◆ wave_panel_draw()

static void wave_panel_draw ( const bContext * ,
Panel * panel )
static

Variable Documentation

◆ shaderfx_Type_Shadow

ShaderFxTypeInfo shaderfx_Type_Shadow
Initial value:
= {
N_("Shadow"),
"ShadowShaderFxData",
nullptr,
nullptr,
}
@ eShaderFxType_GpencilType
ShaderFxTypeFlag
struct ShadowShaderFxData ShadowShaderFxData
static void panel_register(ARegionType *region_type)
static void foreach_ID_link(ShaderFxData *fx, Object *ob, IDWalkFunc walk, void *user_data)
static void update_depsgraph(ShaderFxData *fx, const ModifierUpdateDepsgraphContext *ctx)
static void init_data(ShaderFxData *md)
static void copy_data(const ShaderFxData *md, ShaderFxData *target)
static bool is_disabled
#define N_(msgid)

Definition at line 162 of file FX_shader_shadow.cc.