---
UID: NC:d2d1_1.PD2D1_EFFECT_FACTORY
title: PD2D1_EFFECT_FACTORY (d2d1_1.h)
description: Describes the implementation of an effect.
old-location: direct2d\pd2d1_effect_factory.htm
tech.root: Direct2D
ms.assetid: e4f99762-4328-4b9c-ab0d-14b78a1581b5
ms.date: 12/05/2018
ms.keywords: PD2D1_EFFECT_FACTORY, PD2D1_EFFECT_FACTORY callback, PD2D1_EFFECT_FACTORY callback function [Direct2D], d2d1_1/PD2D1_EFFECT_FACTORY, direct2d.pd2d1_effect_factory
f1_keywords:
- d2d1_1/PD2D1_EFFECT_FACTORY
dev_langs:
- c++
req.header: d2d1_1.h
req.include-header: 
req.target-type: Windows
req.target-min-winverclnt: Windows 8 and Platform Update for Windows 7 [desktop apps \| UWP apps]
req.target-min-winversvr: Windows Server 2012 and Platform Update for Windows Server 2008 R2 [desktop apps \| UWP apps]
req.kmdf-ver: 
req.umdf-ver: 
req.ddi-compliance: 
req.unicode-ansi: 
req.idl: 
req.max-support: 
req.namespace: 
req.assembly: 
req.type-library: 
req.lib: 
req.dll: 
req.irql: 
topic_type:
- APIRef
- kbSyntax
api_type:
- UserDefined
api_location:
- D2D1_1.h
api_name:
- PD2D1_EFFECT_FACTORY
targetos: Windows
req.typenames: 
req.redist: 
ms.custom: 19H1
---

# PD2D1_EFFECT_FACTORY callback function


## -description


Describes the implementation of an effect.


## -parameters




### -param **effectImpl








#### - effectImplementation [out]

The effect implementation returned by the factory.


## -returns



The effect factory is implemented by an effect author.




## -see-also




<a href="https://docs.microsoft.com/windows/desktop/api/d2d1_1/nn-d2d1_1-id2d1effect">ID2D1Effect</a>
 

 

