directx - C++ indicates my highest Shader Model is 3 -


i'm trying detect what's highest shader model graphics card has in c++ using if(caps.vertexshaderversion < d3dvs_version(i, 0)){return false;} shader model want check, can 3.

the problem i've checked graphics card (gigabyte geforce gtx 470) , has directx 11 shouldn't have shader model 5? or there wrong way i'm checking shader model?

direct3d 9, api you're using, not aware of direct3d 11's existence, therefore, reports highest supported shader version supported in d3d9.


Comments

Popular posts from this blog

c++ - Creating new partition disk winapi -

Android Prevent Bluetooth Pairing Dialog -

VBA function to include CDATA -