include: Add defines for ID2D1ComputeInfo.

Signed-off-by: Ziqing Hui <zhui@codeweavers.com>
Signed-off-by: Henri Verbeet <hverbeet@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
This commit is contained in:
Ziqing Hui 2022-04-26 10:40:37 +08:00 committed by Alexandre Julliard
parent 04de217c26
commit 3d891e4130
1 changed files with 20 additions and 0 deletions

View File

@ -192,3 +192,23 @@ interface ID2D1DrawInfo : ID2D1RenderInfo
[in, optional] const GUID *shader [in, optional] const GUID *shader
); );
} }
[
object,
uuid(5598b14b-9fd7-48b7-9bdb-8f0964eb38bc),
local,
]
interface ID2D1ComputeInfo : ID2D1RenderInfo
{
HRESULT SetComputeShaderconstantBuffer(
[in] const BYTE *buffer,
[in] UINT32 size
);
HRESULT SetComputeShader(
[in] REFGUID id
);
HRESULT SetResourceTexture(
[in] UINT32 index,
[in] ID2D1ResourceTexture *texture
);
}