Nd3d11 Texture Create: From File
#include <DirectXTex.h> ID3D11Texture2D* pTexture = nullptr; ID3D11ShaderResourceView* pSRV = nullptr; DirectX::TexMetadata metadata; DirectX::ScratchImage scratchImage;
std::wcerr << L"Failed to load image: " << std::hex << hr << std::endl; return 1; nd3d11 texture create from file
if (FAILED(hr)) return hr;