Share via


GammaRamp.GetRed() Method (Microsoft.DirectX.Direct3D)

Retrieves the red component of the gamma ramp.

Definition

Visual Basic Public Function GetRed() As Short()
C# public short[] GetRed();
C++ public:
array<short>^ GetRed();
JScript public function GetRed() : short[];

Return Value

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