Share via


Caps.GuardBandTop Property

The screen-space coordinate of the top guard-band clipping region.

Namespace:  Microsoft.WindowsMobile.DirectX.Direct3D
Assembly:  Microsoft.WindowsMobile.DirectX (in Microsoft.WindowsMobile.DirectX.dll)

Syntax

'Declaration
Public ReadOnly Property GuardBandTop As Integer
'Usage
Dim instance As Caps 
Dim value As Integer 

value = instance.GuardBandTop
public int GuardBandTop { get; }
public:
property int GuardBandTop {
    int get ();
}
public function get GuardBandTop () : int

Property Value

Type: System.Int32
The screen-space coordinate of the top guard-band clipping region.

Remarks

The top guard-band clipping region is the region outside of the viewport range in which the device can accept screen coordinates; because the device can accept triangles that are partially or totally off-screen and within the guard-band clipping region, the frequency of CPU-intensive clipping calculations can be reduced.

Coordinates that are inside of the guard-band clipping region but outside of the rectangle are automatically clipped.

A viewport is a rectangle that defines how a 3-D scene is rendered into a 2-D window. A viewport also defines an area on a device into which objects are rendered.

.NET Framework Security

Platforms

Windows CE, Windows Mobile for Smartphone, Windows Mobile for Pocket PC

The .NET Framework and .NET Compact Framework do not support all versions of every platform. For a list of the supported versions, see .NET Framework System Requirements.

Version Information

.NET Compact Framework

Supported in: 3.5, 2.0

See Also

Reference

Caps Structure

Caps Members

Microsoft.WindowsMobile.DirectX.Direct3D Namespace