These options identify query resource types.
#define | Description |
---|---|
D3DUSAGE_QUERY_FILTER | Query the resource format to see if it supports texture filter types other than D3DTEXF_POINT (which is always supported). |
D3DUSAGE_QUERY_LEGACYBUMPMAP | Query the resource about a legacy bump map. |
D3DUSAGE_QUERY_POSTPIXELSHADER_BLENDING | Query the resource to verify support for post pixel shader blending support. If IDirect3D9::CheckDeviceFormat fails with D3DUSAGE_QUERY_POSTPIXELSHADER_BLENDING, post pixel blending operations are not supported. These include alpha test, pixel fog, render-target blending, color write enable, and dithering. |
D3DUSAGE_QUERY_SRGBREAD | Query the resource to verify if a texture supports gamma correction during a read operation. |
D3DUSAGE_QUERY_SRGBWRITE | Query the resource to verify if a texture supports gamma correction during a write operation. |
D3DUSAGE_QUERY_VERTEXTEXTURE | Query the resource to verify support for vertex shader texture sampling. |
D3DUSAGE_QUERY_WRAPANDMIP | Query the resource to verify support for texture wrapping and mip-mapping. |
Use IDirect3D9::CheckDeviceFormat to query hardware support for these usages, and some other usages listed in D3DUSAGE.
Header | d3d9types.h |
---|---|
Minimum operating system | Windows 98 |