Jump to content

  • Log In with Google      Sign In   
  • Create Account


Resource type for D3DX11CreateShaderResourceViewFromResource


Old topic!
Guest, the last post of this topic is over 60 days old and at this point you may not reply in this topic. If you wish to continue this conversation start a new topic.

  • You cannot reply to this topic
2 replies to this topic

#1 Naruto-kun   Members   -  Reputation: 261

Like
0Likes
Like

Posted 16 July 2013 - 04:33 AM

Hi guys

 

Im curious as to what resource type identifier should be used when trying to create a shader resource view from dds files compiled in the rc file of a dll. I tried using the RT_RCDATA type as specified for DX9 but no go.

 

Just to be certain though....does D3DX11CreateShaderResourceViewFromResource work at all?



Sponsor:

#2 unbird   Crossbones+   -  Reputation: 4008

Like
0Likes
Like

Posted 18 July 2013 - 10:08 AM

Have you tried eppo's approach for a similar problem.

#3 Naruto-kun   Members   -  Reputation: 261

Like
0Likes
Like

Posted 18 July 2013 - 10:29 AM

I have but then i end up with rather badly corrupted results. Like entire textures that are pure white instead of the image i loaded into them etc....






Old topic!
Guest, the last post of this topic is over 60 days old and at this point you may not reply in this topic. If you wish to continue this conversation start a new topic.



PARTNERS