Sdílet prostřednictvím


GraphicsDeviceCapabilities.DriverCaps.CanCalibrateGamma Property

Gets a value indicating whether the system has a calibrator installed that can automatically adjust the gamma ramp.

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

Syntax

public bool CanCalibrateGamma { get; }

Property Value

true if the system has a calibrator installed that can automatically adjust the gamma ramp; false otherwise.

Remarks

To invoke the calibrator when setting new gamma levels, set calibrate to true when calling SetGammaRamp. Calibrating gamma ramps incurs some processing overhead and should not be used frequently.

See Also

Reference

GraphicsDeviceCapabilities.DriverCaps Structure
GraphicsDeviceCapabilities.DriverCaps Members
DriverCapabilities
Microsoft.Xna.Framework.Graphics Namespace

Platforms

Xbox 360, Windows XP SP2, Windows Vista