Bagikan melalui


GraphicsAdapter.CheckDeviceFormat Method

Determines whether a surface or depth buffer format is available as a specified resource type and can be used as a texture, depth-stencil buffer, render target, or any combination of the three, on a device representing the current adapter.

Overload List

Name Description
GraphicsAdapter.CheckDeviceFormat (DeviceType, SurfaceFormat, ResourceUsage, QueryUsages, ResourceType, DepthFormat) Verifies whether a depth buffer format is available as a specified resource type and can be used as a texture, depth-stencil buffer, render target, or any combination of the three, on a device representing the current adapter.
GraphicsAdapter.CheckDeviceFormat (DeviceType, SurfaceFormat, ResourceUsage, QueryUsages, ResourceType, SurfaceFormat) Verifies whether a surface buffer format is available as a specified resource type and can be used as a texture, depth-stencil buffer, render target, or any combination of the three, on a device representing the current adapter.

See Also

Reference

GraphicsAdapter Class
GraphicsAdapter Members
Microsoft.Xna.Framework.Graphics Namespace