IDirect3DDevice8::GetDeviceCaps

DirectX8

Microsoft DirectX 8.1 (C++)

IDirect3DDevice8::GetDeviceCaps

Retrieves the capabilities of the rendering device.

HRESULT GetDeviceCaps(
  D3DCAPS8* pCaps
);

Parameters

pCaps
[out] Pointer to a D3DCAPS8 structure, describing the returned device.

Return Values

If the method succeeds, the return value is D3D_OK.

If the method fails, the return value can be D3DERR_INVALIDCALL.

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 TRUE.

Requirements

  Header: Declared in D3d8.h.
  Import Library: Use D3d8.lib.