Changeset View
Changeset View
Standalone View
Standalone View
source/blender/shader_fx/intern/FX_shader_glow.c
| Show All 9 Lines | |||||
| #include "DNA_gpencil_types.h" | #include "DNA_gpencil_types.h" | ||||
| #include "DNA_object_types.h" | #include "DNA_object_types.h" | ||||
| #include "DNA_scene_types.h" | #include "DNA_scene_types.h" | ||||
| #include "DNA_screen_types.h" | #include "DNA_screen_types.h" | ||||
| #include "BLI_math.h" | #include "BLI_math.h" | ||||
| #include "BLI_utildefines.h" | #include "BLI_utildefines.h" | ||||
| #include "BLT_translation.h" | |||||
| #include "BKE_context.h" | #include "BKE_context.h" | ||||
| #include "BKE_modifier.h" | #include "BKE_modifier.h" | ||||
| #include "BKE_screen.h" | #include "BKE_screen.h" | ||||
| #include "BKE_shader_fx.h" | #include "BKE_shader_fx.h" | ||||
| #include "UI_interface.h" | #include "UI_interface.h" | ||||
| #include "UI_resources.h" | #include "UI_resources.h" | ||||
| ▲ Show 20 Lines • Show All 49 Lines • ▼ Show 20 Lines | |||||
| } | } | ||||
| static void panelRegister(ARegionType *region_type) | static void panelRegister(ARegionType *region_type) | ||||
| { | { | ||||
| shaderfx_panel_register(region_type, eShaderFxType_Glow, panel_draw); | shaderfx_panel_register(region_type, eShaderFxType_Glow, panel_draw); | ||||
| } | } | ||||
| ShaderFxTypeInfo shaderfx_Type_Glow = { | ShaderFxTypeInfo shaderfx_Type_Glow = { | ||||
| /* name */ "Glow", | /* name */ N_("Glow"), | ||||
| /* structName */ "GlowShaderFxData", | /* structName */ "GlowShaderFxData", | ||||
| /* structSize */ sizeof(GlowShaderFxData), | /* structSize */ sizeof(GlowShaderFxData), | ||||
| /* type */ eShaderFxType_GpencilType, | /* type */ eShaderFxType_GpencilType, | ||||
| /* flags */ 0, | /* flags */ 0, | ||||
| /* copyData */ copyData, | /* copyData */ copyData, | ||||
| /* initData */ initData, | /* initData */ initData, | ||||
| /* freeData */ NULL, | /* freeData */ NULL, | ||||
| /* isDisabled */ NULL, | /* isDisabled */ NULL, | ||||
| /* updateDepsgraph */ NULL, | /* updateDepsgraph */ NULL, | ||||
| /* dependsOnTime */ NULL, | /* dependsOnTime */ NULL, | ||||
| /* foreachIDLink */ NULL, | /* foreachIDLink */ NULL, | ||||
| /* panelRegister */ panelRegister, | /* panelRegister */ panelRegister, | ||||
| }; | }; | ||||