共用方式為


GraphicsDeviceCapabilities.PixelShaderCaps.NumberTemps Property

Gets a value specifying the number of temporary registers supported.

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

Syntax

public int NumberTemps { get; }

Property Value

The number of temporary registers supported.

See Also

Reference

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

Platforms

Xbox 360, Windows XP SP2, Windows Vista