?/TD>
Microsoft DirectX 9.0

D3DUSAGE_QUERY


These options identify query resource types.

#defineDescription
D3DUSAGE_QUERY_FILTERQuery the resource format to see if it supports texture filter types other than D3DTEXF_POINT (which is always supported).
D3DUSAGE_QUERY_LEGACYBUMPMAPQuery the resource about a legacy bump map.
D3DUSAGE_QUERY_POSTPIXELSHADER_BLENDINGQuery 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_SRGBREADQuery the resource to verify if a texture supports gamma correction during a read operation.
D3DUSAGE_QUERY_SRGBWRITEQuery the resource to verify if a texture supports gamma correction during a write operation.
D3DUSAGE_QUERY_VERTEXTEXTUREQuery the resource to verify support for vertex shader texture sampling.

Use IDirect3D9::CheckDeviceFormat to query hardware support for these usages, and some other usages listed in D3DUSAGE.

Constant Information

Headerd3d9types.h
Minimum operating systemWindows 98

Related Topics



© 2002 Microsoft Corporation. All rights reserved.