Changeset View
Changeset View
Standalone View
Standalone View
source/blender/shader_fx/intern/FX_shader_wave.c
| Show All 11 Lines | |||||
| #include "DNA_scene_types.h" | #include "DNA_scene_types.h" | ||||
| #include "DNA_screen_types.h" | #include "DNA_screen_types.h" | ||||
| #include "BKE_context.h" | #include "BKE_context.h" | ||||
| #include "BKE_screen.h" | #include "BKE_screen.h" | ||||
| #include "BLI_utildefines.h" | #include "BLI_utildefines.h" | ||||
| #include "BLT_translation.h" | |||||
| #include "UI_interface.h" | #include "UI_interface.h" | ||||
| #include "UI_resources.h" | #include "UI_resources.h" | ||||
| #include "RNA_access.h" | #include "RNA_access.h" | ||||
| #include "FX_shader_types.h" | #include "FX_shader_types.h" | ||||
| #include "FX_ui_common.h" | #include "FX_ui_common.h" | ||||
| Show All 28 Lines | |||||
| } | } | ||||
| static void panelRegister(ARegionType *region_type) | static void panelRegister(ARegionType *region_type) | ||||
| { | { | ||||
| shaderfx_panel_register(region_type, eShaderFxType_Wave, panel_draw); | shaderfx_panel_register(region_type, eShaderFxType_Wave, panel_draw); | ||||
| } | } | ||||
| ShaderFxTypeInfo shaderfx_Type_Wave = { | ShaderFxTypeInfo shaderfx_Type_Wave = { | ||||
| /* name */ "WaveDistortion", | /* name */ N_("WaveDistortion"), | ||||
| /* structName */ "WaveShaderFxData", | /* structName */ "WaveShaderFxData", | ||||
| /* structSize */ sizeof(WaveShaderFxData), | /* structSize */ sizeof(WaveShaderFxData), | ||||
| /* 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, | ||||
| }; | }; | ||||