Caps.GuardBandTop Property
[This documentation is for preview only, and is subject to change in later releases. Blank topics are included as placeholders.]
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
Get
'Usage
Dim instance As Caps
Dim value As Integer
value = instance.GuardBandTop
public int GuardBandTop { get; }
public:
property int GuardBandTop {
int get ();
}
member 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
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.
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