Can you please help me in finding the equivalent DX12 API/sample code by which I could load a bitmap and create a texture ?
For DX11 it is D3DX11CreateShaderResourceViewFromFile
and for DX9 it is D3DXCreateTextureFromFileEx
Can you please help me in finding the equivalent DX12 API/sample code by which I could load a bitmap and create a texture ?
For DX11 it is D3DX11CreateShaderResourceViewFromFile
and for DX9 it is D3DXCreateTextureFromFileEx
You can use the following functions from DirectXTK, as well as many other.
Alternatively you can use Windows Imaging Component to write your own implementation, especially if you would like to have more control.