Retrieves the sizes, in thread groups, of the X, Y, and Z dimensions of the shader’s thread-group grid.
public:
UINT GetThreadGroupSize(
UINT *pSizeX,
UINT *pSizeY,
UINT *pSizeZ
)
pSizeX
Type: UINT *
[out, optional] A pointer to the size, in thread groups, of the x-dimension of the thread-group grid. The maximum size is 65535.
pSizeY
Type: UINT *
[out, optional] A pointer to the size, in thread groups, of the y-dimension of the thread-group grid. The maximum size is 65535.
pSizeZ
Type: UINT *
[out, optional] A pointer to the size, in thread groups, of the z-dimension of the thread-group grid. The maximum size is 65535.
Type: UINT
Returns one of the following Direct3D 11 return codes.
This method’s interface is hosted in the out-of-box DLL D3DCompiler_xx.dll.
Header: Declared in d3d11shader_x.h (d3d11shader.h on other Windows platforms).
Library: Use d3d11_x.lib (d3d11.lib on other Windows platforms).