Represents a set of run-time bindable and discoverable properties that allow a data-driven application to modify the state of a Direct2D effect.
More...
|
UINT32 | GetPropertyCount () const |
| Gets the number of top-level properties.
|
|
bool | GetPropertyName (UINT32 index, PWSTR nameBuffer, UINT32 nameBufferSize) const |
| Gets the property name that corresponds to the given index.
|
|
UINT32 | GetPropertyNameLength (UINT32 index) const |
| Gets the number of characters for the given property name.
|
|
D2D1_PROPERTY_TYPE | GetType (UINT32 index) const |
| Gets the D2D1_PROPERTY_TYPE of the selected property.
|
|
UINT32 | GetPropertyIndex (PCWSTR propertyName) const |
| Gets the index corresponding to the given property name.
|
|
void | SetValueByName (PCWSTR propertyName, D2D1_PROPERTY_TYPE propertyType, const BYTE *data, UINT32 dataSize) const |
| Sets the named property to the given value.
|
|
void | SetValue (UINT32 propertyIndex, D2D1_PROPERTY_TYPE propertyType, const BYTE *data, UINT32 dataSize) const |
| Sets the corresponding property by index.
|
|
void | GetValueByName (PCWSTR propertyName, D2D1_PROPERTY_TYPE propertyType, BYTE *data, UINT32 dataSize) const |
| Retrieves the given property or sub-property by name. '.' is the delimiter for sub-properties.
|
|
void | GetValue (UINT32 index, D2D1_PROPERTY_TYPE propertyType, BYTE *data, UINT32 dataSize) const |
| Gets the value of the specified property by index.
|
|
UINT32 | GetValueSize (UINT32 index) const |
| Gets the size of the property value in bytes, using the property index.
|
|
bool | GetSubProperties (UINT32 index, ID2D1Properties **subProperties) const |
| Retrieves the sub-properties of the given property by index.
|
|
Properties | GetSubProperties (UINT32 index) const |
|
void | SetValueByName (PCWSTR name, const BYTE *data, UINT32 dataSize) const |
|
void | SetValue (UINT32 index, const BYTE *data, UINT32 dataSize) const |
|
void | GetValueByName (PCWSTR name, BYTE *data, UINT32 dataSize) const |
|
void | GetValue (UINT32 index, BYTE *data, UINT32 dataSize) const |
|
template<typename T > |
void | GetValueByName (PCWSTR propertyName, T *value) const |
|
template<typename T > |
T | GetValueByName (PCWSTR propertyName) const |
|
template<typename T > |
void | SetValueByName (PCWSTR propertyName, const T &value) const |
|
template<typename U > |
void | GetValue (U index, BYTE *data, UINT32 dataSize) const |
|
template<typename T , typename U > |
void | GetValue (U index, T *value) const |
|
template<typename T , typename U > |
T | GetValue (U index) const |
|
template<typename U > |
void | SetValue (U index, const BYTE *data, UINT32 dataSize) const |
|
template<typename T , typename U > |
void | SetValue (U index, const T &value) const |
|
template<typename U > |
void | GetPropertyName (U index, PWSTR name, UINT32 nameCount) const |
|
template<typename U > |
UINT32 | GetPropertyNameLength (U index) const |
|
template<typename U > |
D2D1_PROPERTY_TYPE | GetType (U index) const |
|
template<typename U > |
UINT32 | GetValueSize (U index) const |
|
template<typename U > |
void | GetSubProperties (U index, ID2D1Properties **subProperties) const |
|
constexpr | Unknown () noexcept |
|
| Unknown (IUnknown *unknown, bool addref=false) noexcept |
|
| Unknown (REFIID iid, const Unknown &unknown, bool throwIfNoInterface=true) |
|
| Unknown (const Unknown &other) noexcept |
|
| Unknown (Unknown &&other) noexcept |
|
| ~Unknown () noexcept |
|
constexpr | operator bool () const noexcept |
|
Unknown & | operator= (const Unknown &other) noexcept |
|
Unknown & | operator= (Unknown &&other) noexcept |
|
void | swap (Unknown &other) noexcept |
|
void | ResetPtr (IUnknown *other=nullptr, bool addRef=false) noexcept |
|
Unknown & | operator= (nullptr_t) |
|
IUnknown * | Detach () |
|
template<typename T >
requires std::is_base_of_v<Unknown, T > |
T | As () const |
|
template<typename T >
requires std::is_base_of_v<Unknown, T> |
bool | Is () const noexcept |
|
template<typename T >
requires std::is_base_of_v<IUnknown, T> |
ComPtr< T > | As () const |
|
template<typename T >
requires std::is_base_of_v<IUnknown, T> |
bool | Is () const noexcept |
| This function can be used to detect if an object supports a particular COM interface derived from IUnknown.
|
|
template<typename T = IUnknown> |
T * | GetInterfacePointer () const noexcept |
|
bool | QueryInterface (REFIID riid, void **itf) const |
| Queries a COM object for a pointer to one of its interface; identifying the interface by a reference to its interface identifier (IID). If the COM object implements the interface, then it returns a pointer to that interface after calling IUnknown::AddRef on it.
|
|
template<typename T >
requires std::is_base_of_v<IUnknown, T> |
bool | QueryInterface (T **itf) const |
|
constexpr bool | operator== (const Unknown &other) const noexcept |
|
constexpr bool | operator!= (const Unknown &other) const noexcept |
|
constexpr bool | operator== (const IUnknown *other) const noexcept |
|
constexpr bool | operator!= (const IUnknown *other) const noexcept |
|
Represents a set of run-time bindable and discoverable properties that allow a data-driven application to modify the state of a Direct2D effect.