共用方式為


GraphicsDeviceCapabilities.VertexShaderCaps.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.VertexShaderCaps Structure
GraphicsDeviceCapabilities.VertexShaderCaps Members
Microsoft.Xna.Framework.Graphics Namespace

Platforms

Xbox 360, Windows XP SP2, Windows Vista