Export (0) Print
Expand All

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 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.
D3DUSAGE_QUERY_WRAPANDMIPQuery the resource to verify support for texture wrapping and mip-mapping.

 

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

Constant Information

Headerd3d9types.h
Minimum operating systemWindows 98

 

 

 

Community Additions

ADD
Show:
© 2014 Microsoft