UID | title | description | helpviewer_keywords | old-location | tech.root | ms.assetid | ms.date | ms.keywords | req.header | req.include-header | req.target-type | req.target-min-winverclnt | req.target-min-winversvr | req.kmdf-ver | req.umdf-ver | req.ddi-compliance | req.unicode-ansi | req.idl | req.max-support | req.namespace | req.assembly | req.type-library | req.lib | req.dll | req.irql | targetos | req.typenames | req.redist | ms.custom | f1_keywords | dev_langs | topic_type | api_type | api_location | api_name | |||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
NF:d2d1effectauthor.ID2D1ComputeTransform.CalculateThreadgroups |
ID2D1ComputeTransform::CalculateThreadgroups (d2d1effectauthor.h) |
This method allows a compute-shader–based transform to select the number of thread groups to execute based on the number of output pixels it needs to fill. |
|
direct2d\id2d1computetransform_calculatethreadgroups.htm |
Direct2D |
6B662297-3EBE-459F-8284-7A59F67DB025 |
12/05/2018 |
CalculateThreadgroups, CalculateThreadgroups method [Direct2D], CalculateThreadgroups method [Direct2D],ID2D1ComputeTransform interface, ID2D1ComputeTransform interface [Direct2D],CalculateThreadgroups method, ID2D1ComputeTransform.CalculateThreadgroups, ID2D1ComputeTransform::CalculateThreadgroups, d2d1effectauthor/ID2D1ComputeTransform::CalculateThreadgroups, direct2d.id2d1computetransform_calculatethreadgroups |
d2d1effectauthor.h |
Windows |
Windows 8 and Platform Update for Windows 7 [desktop apps \| UWP apps] |
Windows Server 2012 and Platform Update for Windows Server 2008 R2 [desktop apps \| UWP apps] |
D2d1.lib |
Windows |
19H1 |
|
|
|
|
|
|
This method allows a compute-shader–based transform to select the number of thread groups to execute based on the number of output pixels it needs to fill.
Type: const D2D1_RECT_L*
The output rectangle that will be filled by the compute transform.
Type: UINT32*
The number of threads in the x dimension.
Type: UINT32*
The number of threads in the y dimension.
Type: UINT32*
The number of threads in the z dimension.
Type: HRESULT
If the method succeeds, it returns S_OK. If it fails, it returns an HRESULT error code.
If this call fails, the corresponding ID2D1Effect instance is placed into an error state and fails to draw.