Microsoft DirectX 9.0 SDK Update (October 2004)

RasterCaps.SupportsWFog Property

Language:

Note: This documentation is preliminary and is subject to change.

Determines whether the device supports w-based fog.

Definition

Visual Basic .NET Public ReadOnly Property SupportsWFog As Boolean
C# public bool SupportsWFog { get; }
Managed C++ public: __property bool get_SupportsWFog();
JScript .NET 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.


© 2004 Microsoft Corporation. All rights reserved. Terms of use.

Feedback? Please provide us with your comments on this topic.
For more help, visit the DirectX Developer Center