Jump to content

  • Log In with Google      Sign In   
  • Create Account


#ActualBokke

Posted 03 March 2013 - 01:52 AM

Hello,

 

I propose you have a look at D3DX11CreateShaderResourceViewFromFile

Since the D3D10ImageFileFormat is mentioned for D3DX10CreateShaderResourceViewFromFile, however that its not for the D3D11, I still do expect that D3DX11_IMAGE_FILE_FORMAT holds: D3DX11_IFF_PNG Is probably what you are looking for.


#1Bokke

Posted 03 March 2013 - 01:03 AM

Hello,

 

I propose you have a look at D3DX11CreateShaderResourceViewFromFile

Since the D3D10ImageFileFormat is mentioned for D3DX10CreateShaderResourceViewFromFile, however that its not for the D3D11, I still do expect that D3DX11_IMAGE_FILE_FORMAT holds: D3DX11_IFF_PNG Is probably what you are looking for.

 

Wkr,

Steven


PARTNERS