Share via


Clipping in Direct3D Mobile Drivers (Windows Embedded CE 6.0)

1/6/2010

Although clipping transformed and lit vertices may be disabled for reasons of performance, all drivers must support scissoring to the screen. Scissoring is the operation where rasterized pixel locations are tested against the dimensions of the render target.

The viewport is defined by the MinZ and MaxZ member of the D3DMVIEWPORT structure and the X and Y extents of the render target. Values for pixels that lie outside of the viewport are undefined. The driver must ensure that the undefined values from pixels that lie outside the viewport do not cause the driver to crash. The driver may implement any algorithm that prevents it from writing pixels outside the viewport.

For general information about clipping, see Clipping.

See Also

Concepts

Rendering Pipeline in Direct3D Mobile Drivers

Other Resources

Clipping