次の方法で共有


GraphicsDeviceManager.MinimumPixelShaderProfile Property

Gets or sets the minimum pixel shader version required by the GraphicsDeviceManager.

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

Syntax

public ShaderProfile MinimumPixelShaderProfile { get; set; }

Property Value

The minimum pixel shader version required by the GraphicsDeviceManager.

Exceptions

Exception type Condition
ArgumentOutOfRangeException

MinimumPixelShaderProfile is not a valid pixel shader profile. Use one of the following:

See Also

Reference

GraphicsDeviceManager Class
GraphicsDeviceManager Members
Microsoft.Xna.Framework Namespace

Platforms

Xbox 360, Windows XP SP2, Windows Vista