| 125 | |
| 126 | template<UINT TNameLength> |
| 127 | inline void SetDebugObjectName(_In_ ID3D11DeviceChild* resource, _In_ const char (&name)[TNameLength]) |
| 128 | { |
| 129 | #if defined(_DEBUG) || defined(PROFILE) |
| 130 | resource->SetPrivateData(WKPDID_D3DDebugObjectName, TNameLength - 1, name); |
| 131 | #else |
| 132 | UNREFERENCED_PARAMETER(resource); |
| 133 | UNREFERENCED_PARAMETER(name); |
| 134 | #endif |
| 135 | } |
| 136 | |
| 137 | //-------------------------------------------------------------------------------------- |
| 138 | HRESULT LoadTextureDataFromFile( |
no outgoing calls
no test coverage detected