Gets the type of the current HLSL class.
public:
void GetTypeName(
LPSTR pTypeName,
SIZE_T *pBufferLength
)
pTypeName
Type: LPSTRĀ
[out, optional] Type of the current HLSL class.
pBufferLength
Type: SIZE_TĀ *
[in, out] The length of the pTypeName parameter.
GetTypeName will return a valid name only for instances acquired using ID3D11ClassLinkage::GetClassInstance.
For more information about using the ID3D11ClassInstance interface, see Dynamic Linking.
Header: Declared in d3d11_x.h (d3d11.h on other Windows platforms).
Library: Use d3d11_x.lib (d3d11.lib on other Windows platforms).