背面消隐
If for some reason we are not happy with the default culling behavior, we can change it by changing theD3DRS_CULLMODErender state. Device->SetRenderState(D3DRS_CULLMODE, Value); whereValuecan be one of the following:
D3DCULL_NONE—Disables back face culling entirelyD3DCULL_CW—Triangles with a clockwise wind are culled.
D3DCULL_CCW—Triangles with a counterclockwise wind are culled. This is the default state.