GammaRamp.SetGreen Method

Language:

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
ArgumentException Leave Site The value parameter is not a 256-element integer array. The array must have a size of 256.


Send comments about this topic to Microsoft. © Microsoft Corporation. All rights reserved.

Feedback? Please provide us with your comments on this topic.
For more help, visit the DirectX Developer Center