ID3D11ClassInstance::GetTypeName method

Gets the type of the current HLSL class.

Syntax


void GetTypeName(
  [out, optional] LPSTR  pTypeName,
  [in, out]       SIZE_T *pBufferLength
);

Parameters

pTypeName [out, optional]

Type: LPSTR

Type of the current HLSL class.

pBufferLength [in, out]

Type: SIZE_T*

The length of the pTypeName parameter.

Return value

This method does not return a value.

Remarks

GetTypeName will return a valid name only for instances acquired using ID3D11ClassLinkage::GetClassInstance.

For more information about using the ID3D11ClassInstance interface, see Dynamic Linking.

Windows Phone 8: This API is supported.

Requirements

Header

D3d11.h

Library

D3d11.lib

See also

ID3D11ClassInstance

 

 

Show: