Changeset View
Changeset View
Standalone View
Standalone View
source/blender/shader_fx/intern/FX_shader_pixel.c
| Show All 38 Lines | static void copyData(const ShaderFxData *md, ShaderFxData *target) | ||||
| BKE_shaderfx_copyData_generic(md, target); | BKE_shaderfx_copyData_generic(md, target); | ||||
| } | } | ||||
| ShaderFxTypeInfo shaderfx_Type_Pixel = { | ShaderFxTypeInfo shaderfx_Type_Pixel = { | ||||
| /* name */ "Pixelate", | /* name */ "Pixelate", | ||||
| /* structName */ "PixelShaderFxData", | /* structName */ "PixelShaderFxData", | ||||
| /* structSize */ sizeof(PixelShaderFxData), | /* structSize */ sizeof(PixelShaderFxData), | ||||
| /* type */ eShaderFxType_GpencilType, | /* type */ eShaderFxType_GpencilType, | ||||
| /* flags */ eShaderFxTypeFlag_Single, | /* 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, | ||||
| /* foreachObjectLink */ NULL, | /* foreachObjectLink */ NULL, | ||||
| /* foreachIDLink */ NULL, | /* foreachIDLink */ NULL, | ||||
| }; | }; | ||||