MCPcopy Create free account
hub / github.com/TheRealMJP/BakingLab / safe_handle

Function safe_handle

SampleFramework11/v1.02/Graphics/DDSTextureLoader.cpp:130–130  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

128typedef public std::unique_ptr<void, handle_closer> ScopedHandle;
129
130inline HANDLE safe_handle( HANDLE h ) { return (h == INVALID_HANDLE_VALUE) ? 0 : h; }
131
132template<UINT TNameLength>
133inline void SetDebugObjectName(_In_ ID3D11DeviceChild* resource, _In_ const char (&name)[TNameLength])

Callers 1

LoadTextureDataFromFileFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected