Resource type for D3DX11CreateShaderResourceViewFromResource

Started by
1 comment, last by JB3DG 10 years, 9 months ago

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?

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

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

This topic is closed to new replies.

Advertisement