Sdílet prostřednictvím


GraphicsDeviceCapabilities.PixelShader1xMaxValue Property

Gets the maximum value of pixel shader arithmetic component.

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

Syntax

public float PixelShader1xMaxValue { get; }

Property Value

The maximum value of pixel shader arithmetic component.

Remarks

PixelShader1xMaxValue indicates the internal range of values supported for pixel color blending operations. Within the range that they report to, implementations must allow data to pass through pixel processing unmodified (unclamped). Normally, the value of this member is an absolute value. For example, a 1.0 indicates that the range is −1.0 to 1, and an 8.0 indicates that the range is −8.0 to 8.0. The value must be greater than or equal to 1.0 for any hardware that supports pixel shaders.

See Also

Reference

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

Platforms

Xbox 360, Windows XP SP2, Windows Vista