Partager via


Device.DeviceCaps Property (Microsoft.DirectX.Direct3D)

Retrieves the capabilities of the rendering device.

Definition

Visual Basic Public ReadOnly Property DeviceCaps As Caps
C# public Caps DeviceCaps { get; }
C++ public:
property Caps DeviceCaps {
        Caps get();
}
JScript public function get DeviceCaps() : Caps

Property Value

Microsoft.DirectX.Direct3D.Caps
A Caps object that describes the returned device.

This property is read-only. 

Remarks

Device.DeviceCaps retrieves the software vertex pipeline capabilities when the device is used in software vertex processing mode.

Exceptions

InvalidCallException

Occurs if the method call is invalid. For example, a parameter might contain an invalid value.