共用方式為


GraphicsDeviceCapabilities.PixelShaderCaps.SupportsPredication Property

Gets a value indicating whether instruction predication is supported.

Namespace: Microsoft.Xna.Framework.Graphics
Assembly: Microsoft.Xna.Framework (in microsoft.xna.framework.dll)

Syntax

public bool SupportsPredication { get; }

Property Value

true if instruction predication is supported; false otherwise.

See Also

Reference

GraphicsDeviceCapabilities.PixelShaderCaps Structure
GraphicsDeviceCapabilities.PixelShaderCaps Members
PixelShaderCapabilities
Microsoft.Xna.Framework.Graphics Namespace

Platforms

Xbox 360, Windows XP SP2, Windows Vista