I am trying to determine what the highest shader model of my video card has in C ++ using if(caps.VertexShaderVersion < D3DVS_VERSION(i, 0)){return false;} , where I am the shader model that I want to check, but I I can get it up to 3.
The problem is that I checked my graphics card (Gigabyte GeForce GTX 470) and it has DirectX 11, so there shouldn't be a Shader Model 5? Or is there something wrong with the way I test the shader model?
Danny source share