GammaRamp.SetRed Method |
Language: |
Sets the red component of the gamma ramp.
Visual Basic Public Sub SetRed( _
ByVal value() As Short _
)C# public void SetRed(
short[] value
);C++ public:
void SetRed(
array<short>^ value
);JScript public function SetRed(
value : short[]
);
value System.Int16[]
A 256-element integer array that represents the red component.
Exceptions
ArgumentException 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