D2D1_PROPERTY enumeration (d2d1_1.h)
Specifies the indices of the system properties present on the ID2D1Properties interface for an ID2D1Effect.
Syntax
typedef enum D2D1_PROPERTY {
D2D1_PROPERTY_CLSID = 0x80000000,
D2D1_PROPERTY_DISPLAYNAME = 0x80000001,
D2D1_PROPERTY_AUTHOR = 0x80000002,
D2D1_PROPERTY_CATEGORY = 0x80000003,
D2D1_PROPERTY_DESCRIPTION = 0x80000004,
D2D1_PROPERTY_INPUTS = 0x80000005,
D2D1_PROPERTY_CACHED = 0x80000006,
D2D1_PROPERTY_PRECISION = 0x80000007,
D2D1_PROPERTY_MIN_INPUTS = 0x80000008,
D2D1_PROPERTY_MAX_INPUTS = 0x80000009,
D2D1_PROPERTY_FORCE_DWORD = 0xffffffff
} ;
Constants
D2D1_PROPERTY_CLSID Value: 0x80000000 The CLSID of the effect. |
D2D1_PROPERTY_DISPLAYNAME Value: 0x80000001 The name of the effect. |
D2D1_PROPERTY_AUTHOR Value: 0x80000002 The author of the effect. |
D2D1_PROPERTY_CATEGORY Value: 0x80000003 The category of the effect. |
D2D1_PROPERTY_DESCRIPTION Value: 0x80000004 The description of the effect. |
D2D1_PROPERTY_INPUTS Value: 0x80000005 The names of the effect's inputs. |
D2D1_PROPERTY_CACHED Value: 0x80000006 The output of the effect should be cached. |
D2D1_PROPERTY_PRECISION Value: 0x80000007 The buffer precision of the effect output. |
D2D1_PROPERTY_MIN_INPUTS Value: 0x80000008 The minimum number of inputs supported by the effect. |
D2D1_PROPERTY_MAX_INPUTS Value: 0x80000009 The maximum number of inputs supported by the effect. |
D2D1_PROPERTY_FORCE_DWORD Value: 0xffffffff |
Remarks
Under normal circumstances the minimum and maximum number of inputs to the effect are the same. If the effect supports a variable number of inputs, the ID2D1Effect::SetNumberOfInputs method can be used to choose the number that the application will enable.
Requirements
Requirement | Value |
---|---|
Minimum supported client | Windows 8 and Platform Update for Windows 7 [desktop apps | UWP apps] |
Minimum supported server | Windows Server 2012 and Platform Update for Windows Server 2008 R2 [desktop apps | UWP apps] |
Header | d2d1_1.h |
See also
ID2D1Properties::GetPropertyName
ID2D1Properties::GetPropertyNameLength