Partager via


RasterCaps.SupportsWFog Property

[This documentation is for preview only, and is subject to change in later releases. Blank topics are included as placeholders.]

Determines whether the device supports w-based fog.

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

Syntax

'Declaration
Public ReadOnly Property SupportsWFog As Boolean
    Get
'Usage
Dim instance As RasterCaps
Dim value As Boolean

value = instance.SupportsWFog
public bool SupportsWFog { get; }
public:
property bool SupportsWFog {
    bool get ();
}
member SupportsWFog : bool

Property Value

Type: System.Boolean
true if the device supports w-based fog; otherwise, false.

Remarks

W-based fog is used when a perspective projection matrix is specified, but affine projections still use z-based fog. The system considers a projection matrix that contains a nonzero value in the [3][4] element to be a perspective projection matrix.

.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

RasterCaps Structure

RasterCaps Members

Microsoft.WindowsMobile.DirectX.Direct3D Namespace