1. IDirect3D9::CheckDeviceFormat
检查surface格式是否可用作texture.
检查surface格式是否可用作texture和render-target.
检查surface格式是否可用作depth/stencil buffer.
检查depth buffer和depth/stencil格式支持。
2. IDirect3D9::CheckDeviceType
检查硬件加速能力
检查构造交换链能力
检查当前显示模式能力。
3. IDirect3D9::CheckDepthStencilMatch
检查depth-stencil buffer 和render-target format兼容性。
之前必须调用IDirect3D9::CheckDeviceFormat先检查两者能力。
检查surface格式是否可用作texture.
检查surface格式是否可用作texture和render-target.
检查surface格式是否可用作depth/stencil buffer.
检查depth buffer和depth/stencil格式支持。
2. IDirect3D9::CheckDeviceType
检查硬件加速能力
检查构造交换链能力
检查当前显示模式能力。
3. IDirect3D9::CheckDepthStencilMatch
检查depth-stencil buffer 和render-target format兼容性。
之前必须调用IDirect3D9::CheckDeviceFormat先检查两者能力。
-----------------------------------------------------------
每天进步一点