ID3D11ShaderReflection::GetThreadGroupSize Method

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

Syntax

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

Parameter

  • pSizeX
    Typ: UINT*

    A pointer to the size, in thread groups, of the x-dimension of the thread-group grid. The maximum size is 65535.

  • pSizeY
    Typ: UINT*

    A pointer to the size, in thread groups, of the y-dimension of the thread-group grid. The maximum size is 65535.

  • pSizeZ
    Typ: UINT*

    A pointer to the size, in thread groups, of the z-dimension of the thread-group grid. The maximum size is 65535.

Rückgabewert

Typ: HRESULT

Returns one of the following Direct3D 11 Return Codes.

Hinweise

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

Anforderungen

Header

D3D11Shader.h

Bibliothek

D3DCompiler.lib or D3DCompiler_xx.dll

Siehe auch

ID3D11ShaderReflection