ID2D1Properties

<summary> Represents a set of run-time bindable and discoverable properties that allow a data-driven application to modify the state of a Direct2D effect. </summary>

Members

Functions

GetPropertyCount
UINT32 GetPropertyCount()

<summary> Returns the total number of custom properties in this interface. </summary>

GetPropertyIndex
UINT32 GetPropertyIndex(PCWSTR name)

<summary> Retrieves the property index for the given property name. </summary>

GetPropertyName
HRESULT GetPropertyName(UINT32 index, PWSTR name, UINT32 nameCount)

<summary> Retrieves the property name from the given property index. </summary>

GetPropertyNameLength
UINT32 GetPropertyNameLength(UINT32 index)

<summary> Returns the length of the property name from the given index. </summary>

GetSubProperties
HRESULT GetSubProperties(UINT32 index, ID2D1Properties* subProperties)

<summary> Retrieves the sub-properties of the given property by index. </summary>

GetType
D2D1_PROPERTY_TYPE GetType(UINT32 index)

<summary> Retrieves the type of the given property. </summary>

GetValue
HRESULT GetValue(UINT32 index, D2D1_PROPERTY_TYPE type, BYTE* data, UINT32 dataSize)

<summary> Retrieves the given value by index. </summary>

GetValueByName
HRESULT GetValueByName(PCWSTR name, D2D1_PROPERTY_TYPE type, BYTE* data, UINT32 dataSize)

<summary> Retrieves the given property or sub-property by name. '.' is the delimiter for sub-properties. </summary>

GetValueSize
UINT32 GetValueSize(UINT32 index)

<summary> Returns the value size for the given property index. </summary>

SetValue
HRESULT SetValue(UINT32 index, D2D1_PROPERTY_TYPE type, const(BYTE)* data, UINT32 dataSize)

<summary> Sets the given value using the property index. </summary>

SetValueByName
HRESULT SetValueByName(PCWSTR name, D2D1_PROPERTY_TYPE type, const(BYTE)* data, UINT32 dataSize)

<summary> Sets the value of the given property using its name. </summary>

Meta