ID3D11ShaderReflection::GetThreadGroupSize Method

Retrieves the sizes, in thread groups, of the X, Y, and Z dimensions of the shader’s thread-group grid.

Syntax

public:
UINT GetThreadGroupSize(
         UINT *pSizeX,
         UINT *pSizeY,
         UINT *pSizeZ
)  

Parameters

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.

Return value

Type: UINT 

Returns one of the following Direct3D 11 return codes.

Remarks

This method’s interface is hosted in the out-of-box DLL D3DCompiler_xx.dll.

Requirements

Header: Declared in d3d11shader_x.h (d3d11shader.h on other Windows platforms).

Library: Use d3d11_x.lib (d3d11.lib on other Windows platforms).

See also

ID3D11ShaderReflection

ID3D11ShaderReflection Members