QueryUsages Enumeration
Defines options for querying device resource formats.
Namespace: Microsoft.Xna.Framework.Graphics
Assembly: Microsoft.Xna.Framework (in microsoft.xna.framework.dll)
Syntax
[FlagsAttribute]
public enum QueryUsages
Members
Member name | Description | |
---|---|---|
Filter | Query the resource format to see if it supports texture filter types other than TextureFilter.Point (which is always supported). | |
None | No option specified. | |
PostPixelShaderBlending | Query the resource to verify support for post pixel shader blending support, including alpha test, pixel fog, render-target blending, color write enable, and dithering. | |
SrgbRead | Query the resource to verify if a texture supports gamma correction during a read operation. | |
SrgbWrite | Query the resource to verify if a texture supports gamma correction during a write operation. | |
VertexTexture | Query the resource to verify support for vertex shader texture sampling. | |
WrapAndMip | Query the resource to verify support for texture wrapping and mipmapping. |
See Also
Tasks
Reference
GraphicsDeviceManager.DeviceReset Event
GraphicsAdapter.CheckDeviceFormat Method
Microsoft.Xna.Framework.Graphics Namespace
Platforms
Xbox 360, Windows XP SP2, Windows Vista