GammaRamp.SetGreen Method
Sets the green component of the gamma ramp.
Namespace: Microsoft.Xna.Framework.Graphics
Assembly: Microsoft.Xna.Framework (in microsoft.xna.framework.dll)
Syntax
public void SetGreen (
short[] value
)
Parameters
- value
A 256-element integer array that represents the green component.
Exceptions
Exception type | Condition |
---|---|
ArgumentException | The value parameter is not a 256-element integer array. The arrays used in gamma ramps must have a length of 256. |
See Also
Reference
GammaRamp Class
GammaRamp Members
Microsoft.Xna.Framework.Graphics Namespace
Platforms
Xbox 360, Windows XP SP2, Windows Vista