Jump to content

View more

Image of the Day

Working on an auto spawn system. #gamedev #indiedev #screenshotsaturday https://t.co/Mm2kfekz7b
IOTD | Top Screenshots

The latest, straight to your Inbox.

Subscribe to GameDev.net Direct to receive the latest updates and exclusive content.


Sign up now

Resource type for D3DX11CreateShaderResourceViewFromResource

4: Adsense

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   

442
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?



#2 unbird   Members   

8307
Like
0Likes
Like

Posted 18 July 2013 - 10:08 AM

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

#3 Naruto-kun   Members   

442
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.