渲染状态
Direct3D encapsulates a variety of rendering states that affect how geometry is rendered.
HRESULT IDirect3DDevice9::SetRenderState(
D3DRENDERSTATETYPE State, // the state to change
DWORD Value // value of the new state
);
Therefore, we set the following render state:
_device->SetRenderState(D3DRS_FILLMODE, D3DFILL_WIREFRAME);