Returns some texture capabilities of the given D3D device.
function GetDeviceTextureCaps(Device: IDirect3DDevice9; var Caps: TD3DTextureCaps): Boolean;
ImagingDirect3D9 (at line 56)