|Microsoft DirectX 9.0|
The NAME macro generates a debug-only string.
NAME( strLiteral );
In debug builds, this macro is equivalent to the TEXT macro. In retail builds, it resolves to (TCHAR*) NULL. This macro is useful when declaring the name of an object that derives from the CBaseObject class.
pObject = new CBaseObject(NAME("My Object"));