Microsoft DirectX 9.0 SDK Update (October 2004)

GammaRamp.SetRed Method

Language:

Note: This documentation is preliminary and is subject to change.

Sets the red component of the gamma ramp.

Definition

Visual Basic .NET Public Sub SetRed( _
    ByVal value() As Short _
)
C# public void SetRed(
    short[] value
);
Managed C++ public: void SetRed(
    short value __gc[]
);
JScript .NET public function SetRed(
    value : short[]
);

Parameters

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

Remarks

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


© 2004 Microsoft Corporation. All rights reserved. Terms of use.

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