Important:
This is retired content. This content is outdated and is no longer being maintained. It is provided as a courtesy for individuals who are still using these technologies. This content may contain URLs that were valid when originally published, but now link to sites or pages that no longer exist.
A version of this page is also available for
4/8/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::ProcessVerticesmethod accepts its own flags to control primitive clipping during vertex processing.

See Also

Concepts

Render States