Microsoft DirectX 8.1 (Visual Basic)

Direct3DDevice8.GetDeviceCaps

Retrieves the capabilities of the rendering device.

object.GetDeviceCaps( _ 
    Caps As D3DCAPS8)

Parts

object
Object expression that resolves to a Direct3DDevice8 object.
Caps
A D3DCAPS8 type, describing the returned device.

Error Codes

If the method fails, an error is raised and Err.Number can be set to D3DERR_INVALIDCALL.

For information on trapping errors, see the Microsoft® Visual Basic® Error Handling topic.

Remarks

GetDeviceCaps retrieves the software vertex pipeline capabilities when the device is being used in software vertex processing mode. Software vertex processing mode is selected when a device has been created with D3DCREATE_SOFTWAREVERTEXPROCESSING, or when a device has been created with D3DCREATE_MIXEDVERTEXPROCESSING and D3DRS_SOFTWAREVERTEXPROCESSING is set to 1.