Changeset View
Changeset View
Standalone View
Standalone View
source/blender/shader_fx/intern/FX_shader_shadow.c
| Show First 20 Lines • Show All 153 Lines • ▼ Show 20 Lines | |||||
| { | { | ||||
| PanelType *panel_type = shaderfx_panel_register(region_type, eShaderFxType_Shadow, panel_draw); | PanelType *panel_type = shaderfx_panel_register(region_type, eShaderFxType_Shadow, panel_draw); | ||||
| shaderfx_subpanel_register(region_type, "blur", "Blur", NULL, blur_panel_draw, panel_type); | shaderfx_subpanel_register(region_type, "blur", "Blur", NULL, blur_panel_draw, panel_type); | ||||
| shaderfx_subpanel_register( | shaderfx_subpanel_register( | ||||
| region_type, "wave", "", wave_header_draw, wave_panel_draw, panel_type); | region_type, "wave", "", wave_header_draw, wave_panel_draw, panel_type); | ||||
| } | } | ||||
| ShaderFxTypeInfo shaderfx_Type_Shadow = { | ShaderFxTypeInfo shaderfx_Type_Shadow = { | ||||
| /* name */ "Shadow", | /* name */ N_("Shadow"), | ||||
| /* structName */ "ShadowShaderFxData", | /* structName */ "ShadowShaderFxData", | ||||
| /* structSize */ sizeof(ShadowShaderFxData), | /* structSize */ sizeof(ShadowShaderFxData), | ||||
| /* type */ eShaderFxType_GpencilType, | /* type */ eShaderFxType_GpencilType, | ||||
| /* flags */ 0, | /* flags */ 0, | ||||
| /* copyData */ copyData, | /* copyData */ copyData, | ||||
| /* initData */ initData, | /* initData */ initData, | ||||
| /* freeData */ NULL, | /* freeData */ NULL, | ||||
| /* isDisabled */ isDisabled, | /* isDisabled */ isDisabled, | ||||
| /* updateDepsgraph */ updateDepsgraph, | /* updateDepsgraph */ updateDepsgraph, | ||||
| /* dependsOnTime */ NULL, | /* dependsOnTime */ NULL, | ||||
| /* foreachIDLink */ foreachIDLink, | /* foreachIDLink */ foreachIDLink, | ||||
| /* panelRegister */ panelRegister, | /* panelRegister */ panelRegister, | ||||
| }; | }; | ||||