Gets the instance name of the current HLSL class.
public:
void GetInstanceName(
LPSTR pInstanceName,
SIZE_T *pBufferLength
)
pInstanceName
Type: LPSTRĀ
[out, optional] The instance name of the current HLSL class.
pBufferLength
Type: SIZE_TĀ *
[in, out] The length of the pInstanceName parameter.
GetInstanceName 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).