This topic has not yet been rated - Rate this topic

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
);

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: HRESULT

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

D3D11Shader.h

Library

D3DCompiler.lib or D3DCompiler_xx.dll

See also

ID3D11ShaderReflection

 

 

Send comments about this topic to Microsoft

Build date: 11/28/2012

Did you find this helpful?
(1500 characters remaining)

Community Additions

ADD
© 2013 Microsoft. All rights reserved.