ID3D11ClassInstance::GetTypeName method

Gets the type of the current HLSL class.

Syntax

void GetTypeName(
  LPSTR  pTypeName,
  SIZE_T *pBufferLength
);

Parameters

pTypeName

Type: LPSTR

Type of the current HLSL class.

pBufferLength

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

   
Target Platform Windows
Header d3d11.h
Library D3d11.lib

See Also

ID3D11ClassInstance