For the D3D experts

Miscellaneous Forums/General Discussion/For the D3D experts

Can anyone point me in the direction of some info on D3D device capabilities, to be specific NONPOW2CONDITIONAL? I guess there is a call in the D3D api to return this condition? Any ideas... I did do a bit of a web search but I'm not making much progress.

D3DCAPS9 caps;
d3dDevice->GetDeviceCaps( &caps );

if( caps.TextureCaps & D3DPTEXTURECAPS_NONPOW2CONDITIONAL )
{
   
}

Be *very* careful with this though. Even cards which conditionally support non power of two texture sizes do not do so under all circumstances and it will always be a LOT slower than using a power of two texture.

Ta very much buddy!