Sdílet prostřednictvím


GraphicsDeviceCapabilities.MaxPixelShader30InstructionSlots Property

Gets the maximum number of pixel shader instruction slots supported.

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

Syntax

public int MaxPixelShader30InstructionSlots { get; }

Property Value

The maximum number of pixel shader instruction slots supported.

Remarks

The maximum value that can be set on this capability is 32,768. Devices that support ps_3_0 are required to support at least 512 instruction slots.

See Also

Reference

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

Platforms

Xbox 360, Windows XP SP2, Windows Vista