Partager via


Primitive Clipping State (Windows Embedded CE 6.0)

1/6/2010

Microsoft® Direct3D® Mobile can clip primitives that render partially outside the viewport. Clipping is controlled by the D3DMRS_CLIPPING render state (see D3DMRENDERSTATETYPE). Set this render state to TRUE (the default value) to enable primitive clipping. Set it to FALSE to disable Direct3D Mobile clipping services.

The primitive clipping render state is entirely independent of clipping operations that can be performed on vertices within a vertex buffer. The IDirect3DMobileDevice::ProcessVertices method accepts its own flags to control primitive clipping during vertex processing.

See Also

Concepts

Render States