This variable contains information about the capabilities of the 3D
hardware device. It is the sum of several flags that can be checked individually
through AND (&) comparisions:
1 - Device supports rasterization,
transform, lighting in hardware (Hardware T&L).
2 - Device supports rasterization, transform, lighting, and
shading in hardware.
4 - Device supports stencil shadows.
8 - Device supports
compressed textures (DDS).
16 - Device supports cubic environment mapping.
32 - Device supports user clip planes for mirrors.
- More detailed information about the capabilities of the 3D hardware
device can be obtained by evaluating the ev->pd3dcaps variable
in a plugin.
- Today's 3D hardware normally supports all of the above flags.
if (d3d_caps & 16) // cubic environment mapping