Microsoft DirectX 8.1 (C++) |
Retrieves the capabilities of the rendering device.
HRESULT GetDeviceCaps( D3DCAPS8* pCaps );
If the method succeeds, the return value is D3D_OK.
If the method fails, the return value can be D3DERR_INVALIDCALL.
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 TRUE.
Header: Declared in D3d8.h.
Import Library: Use D3d8.lib.