Commit 93273123 authored by Ziqing Hui's avatar Ziqing Hui Committed by Alexandre Julliard

include: Add defines for ID2D1EffectImpl.

parent c6bf3910
......@@ -47,6 +47,15 @@ typedef enum D2D1_CHANNEL_DEPTH
D2D1_CHANNEL_DEPTH_FORCE_DWORD = 0xffffffff
} D2D1_CHANNEL_DEPTH;
typedef enum D2D1_CHANGE_TYPE
{
D2D1_CHANGE_TYPE_NONE = 0x0,
D2D1_CHANGE_TYPE_PROPERTIES = 0x1,
D2D1_CHANGE_TYPE_CONTEXT = 0x2,
D2D1_CHANGE_TYPE_GRAPH = 0x3,
D2D1_CHANGE_TYPE_FORCE_DWORD = 0xffffffff
} D2D1_CHANGE_TYPE;
typedef enum D2D1_PIXEL_OPTIONS
{
D2D1_PIXEL_OPTIONS_NONE = 0x0,
......@@ -576,3 +585,22 @@ interface ID2D1EffectContext : IUnknown
[in] D2D1_BUFFER_PRECISION precision
);
}
[
object,
uuid(a248fd3f-3e6c-4e63-9f03-7f68ecc91db9),
local,
]
interface ID2D1EffectImpl : IUnknown
{
HRESULT Initialize(
[in] ID2D1EffectContext *context,
[in] ID2D1TransformGraph *graph
);
HRESULT PrepareForRender(
[in] D2D1_CHANGE_TYPE type
);
HRESULT SetGraph(
[in] ID2D1TransformGraph *graph
);
}
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment