RasterCaps.SupportsWFog Property (Microsoft.DirectX.Direct3D)
Determines whether the device supports w-based fog.
Definition
Visual Basic Public ReadOnly Property SupportsWFog As Boolean C# public bool SupportsWFog { get; } C++ public:
property bool SupportsWFog {
bool get();
}JScript public function get SupportsWFog() : boolean
Property Value
System.Boolean
Value that is true if the device supports w-based fog, or false if it does not.This property is read-only.
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.