Share via


GammaRamp.SetGreen(Int16[]) Method (Microsoft.DirectX.Direct3D)

Sets the green component of the gamma ramp.

Definition

Visual Basic Public Sub SetGreen( _
    ByVal value() As Short _
)
C# public void SetGreen(
    short[] value
);
C++ public:
void SetGreen(
    array<short>^ value
);
JScript public function SetGreen(
    value : short[]
);

Parameters

value System.Int16[]
A 256-element integer array that represents the green component.

Remarks

Exceptions

ArgumentExceptionLeave Site

The value parameter is not a 256-element integer array. The array must have a size of 256.