Export (0) Print
Expand All

ID3D11ShaderReflection::GetThreadGroupSize method

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

Syntax


UINT GetThreadGroupSize(
  UINT *pSizeX,
  UINT *pSizeY,
  UINT *pSizeZ
);

Parameters

pSizeX

Type: UINT*

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*

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*

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 the total size, in thread groups, of the thread-group grid by calculating the product of the size of each dimension.


*pSizeX * *pSizeY * *pSizeZ;

Remarks

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

Requirements

Header

D3D11Shader.h

Library

D3DCompiler.lib

DLL

D3DCompiler_47.dll

See also

ID3D11ShaderReflection

 

 

Community Additions

ADD
Show:
© 2014 Microsoft