| 48 | //-------------------------------------------------------------------------------------- |
| 49 | template<UINT TNameLength> |
| 50 | inline void SetDebugObjectName(_In_ ID3D11DeviceChild* resource, _In_ const char(&name)[TNameLength]) |
| 51 | { |
| 52 | #if !defined(NO_D3D11_DEBUG_NAME) && ( defined(_DEBUG) || defined(PROFILE) ) |
| 53 | resource->SetPrivateData(WKPDID_D3DDebugObjectName, TNameLength - 1, name); |
| 54 | #else |
| 55 | UNREFERENCED_PARAMETER(resource); |
| 56 | UNREFERENCED_PARAMETER(name); |
| 57 | #endif |
| 58 | } |
| 59 | |
| 60 | //------------------------------------------------------------------------------------- |
| 61 | // WIC Pixel Format Translation Data |
no outgoing calls
no test coverage detected