D3DHAL_D3DEXTENDEDCAPS describes additional 3D capabilities of the driver.
typedef struct _D3DHAL_D3DEXTENDEDCAPS {
DWORD dwSize;
DWORD dwMinTextureWidth;
DWORD dwMaxTextureWidth;
DWORD dwMinTextureHeight;
DWORD dwMaxTextureHeight;
DWORD dwMinStippleWidth;
DWORD dwMaxStippleWidth;
DWORD dwMinStippleHeight;
DWORD dwMaxStippleHeight;
DWORD dwMaxTextureRepeat;
DWORD dwMaxTextureAspectRatio;
DWORD dwMaxAnisotropy;
D3DVALUE dvGuardBandLeft;
D3DVALUE dvGuardBandTop;
D3DVALUE dvGuardBandRight;
D3DVALUE dvGuardBandBottom;
D3DVALUE dvExtentsAdjust;
DWORD dwStencilCaps;
DWORD dwFVFCaps;
DWORD dwTextureOpCaps;
WORD wMaxTextureBlendStages;
WORD wMaxSimultaneousTextures;
DWORD dwMaxActiveLights;
D3DVALUE dvMaxVertexW;
WORD wMaxUserClipPlanes;
WORD wMaxVertexBlendMatrices;
DWORD dwVertexProcessingCaps;
DWORD dwReserved1;
DWORD dwReserved2;
DWORD dwReserved3;
DWORD dwReserved4;
DWORD dwReserved5;
} D3DHAL_D3DEXTENDEDCAPS;
| Value | Stencil Buffer Operation |
|---|---|
| D3DSTENCILCAPS_DECR | The D3DSTENCILOP_DECR operation is supported. |
| D3DSTENCILCAPS_DECRSAT | The D3DSTENCILOP_DECRSAT operation is supported. |
| D3DSTENCILCAPS_INCR | The D3DSTENCILOP_INCR operation is supported. |
| D3DSTENCILCAPS_INCRSAT | The D3DSTENCILOP_INCRSAT operation is supported. |
| D3DSTENCILCAPS_INVERT | The D3DSTENCILOP_INVERT operation is supported. |
| D3DSTENCILCAPS_KEEP | The D3DSTENCILOP_KEEP operation is supported. |
| D3DSTENCILCAPS_REPLACE | The D3DSTENCILOP_REPLACE operation is supported. |
| D3DSTENCILCAPS_ZERO | The D3DSTENCILOP_ZERO operation is supported. |
A driver must be able to parse all texture coordinates present in the vertex data regardless of the number of texture coordinates that the driver actually uses. The driver should use the index provided with the D3DTSS_TEXCOORDINDEX value of the D3DTEXTURESTAGESTATETYPE enumeration, described in the DirectX SDK documentation, to determine what texture coordinate set to use when rendering.
| Value | Texture Operation Supported |
|---|---|
| D3DTEXOPCAPS_ADD | The D3DTOP_ADD texture blending operation is supported by this device. |
| D3DTEXOPCAPS_ADDSIGNED | The D3DTOP_ADDSIGNED texture blending operation is supported by this device. |
| D3DTEXOPCAPS_ADDSIGNED2X | The D3DTOP_ADDSIGNED2X texture blending operation is supported by this device. |
| D3DTEXOPCAPS_ADDSMOOTH | The D3DTOP_ADDSMOOTH texture blending operation is supported by this device. |
| D3DTEXOPCAPS_BLENDCURRENTALPHA | The D3DTOP_BLENDCURRENTALPHA texture blending operation is supported by this device. |
| D3DTEXOPCAPS_BLENDDIFFUSEALPHA | The D3DTOP_BLENDDIFFUSEALPHA texture blending operation is supported by this device. |
| D3DTEXOPCAPS_BLENDFACTORALPHA | The D3DTOP_BLENDFACTORALPHA texture blending operation is supported by this device. |
| D3DTEXOPCAPS_BLENDTEXTUREALPHA | The D3DTOP_BLENDTEXTUREALPHA texture blending operation is supported by this device. |
| D3DTEXOPCAPS_BLENDTEXTUREALPHAPM | The D3DTOP_BLENDTEXTUREALPHAPM texture blending operation is supported by this device. |
| D3DTEXOPCAPS_BUMPENVMAP. | The D3DTOP_BUMPENVMAP texture blending operation is supported by this device. |
| D3DTEXOPCAPS_BUMPENVMAPLUMINANCE | The D3DTOP_BUMPENVMAPLUMINANCE texture blending operation is supported by this device. |
| D3DTEXOPCAPS_DISABLE | The D3DTOP_DISABLE texture blending operation is supported by this device. |
| D3DTEXOPCAPS_DOTPRODUCT3 | The D3DTOP_DOTPRODUCT3 texture blending operation is supported by this device. |
| D3DTEXOPCAPS_MODULATE | The D3DTOP_MODULATE texture blending operation is supported by this device. |
| D3DTEXOPCAPS_MODULATE2X | The D3DTOP_MODULATE2X texture blending operation is supported by this device. |
| D3DTEXOPCAPS_MODULATE4X | The D3DTOP_MODULATE4X texture blending operation is supported by this device. |
| D3DTEXOPCAPS_MODULATEALPHA_ADDCOLOR | The D3DTOP_MODULATEALPHA_ADDCOLOR texture blending operation is supported by this device. |
| D3DTEXOPCAPS_MODULATECOLOR_ADDALPHA | The D3DTOP_MODULATEALPHA_ADDCOLOR texture blending operation is supported by this device. |
| D3DTEXOPCAPS_MODULATEINVALPHA_ADDCOLOR | The D3DTOP_MODULATEINVALPHA_ADDCOLOR texture blending operation is supported by this device. |
| D3DTEXOPCAPS_MODULATEINVCOLOR_ADDALPHA | The D3DTOP_MODULATEINVCOLOR_ADDALPHA texture blending operation is supported by this device. |
| D3DTEXOPCAPS_PREMODULATE | The D3DTOP_PREMODULATE texture blending operation is supported by this device. |
| D3DTEXOPCAPS_SELECTARG1 | The D3DTOP_SELECTARG1 texture blending operation is supported by this device. |
| D3DTEXOPCAPS_SELECTARG2 | The D3DTOP_SELECTARG2 texture blending operation is supported by this device. |
| D3DTEXOPCAPS_SUBTRACT | The D3DTOP_SUBTRACT texture blending operation is supported by this device. |
The driver allocates and zero-initializes this structure and sets appropriate values in the members it supports. The driver's DdGetDriverInfo function returns a pointer to this structure when that function is called with the GUID_D3DExtendedCaps GUID.
When the driver fills in this structure, it can set values for execute buffer capabilities even when the interface being used to retrieve the capabilities (such as lDirect3DDevice3) does not support execute buffers.
Defined in d3dhal.h. Include d3dhal.h.