Device.GetGammaRamp(Int32) Method (Microsoft.DirectX.Direct3D)

Retrieves the gamma correction ramp for the swap chain.

Definition

Visual Basic Public Function GetGammaRamp( _
    ByVal swapChain As Integer _
) As GammaRamp
C# public GammaRamp GetGammaRamp(
    int swapChain
);
C++ public:
GammaRamp GetGammaRamp(
    int swapChain
);
JScript public function GetGammaRamp(
    swapChain : int
) : GammaRamp;

Parameters

swapChain System.Int32
Unsigned integer that specifies the swap chain.

Return Value

Microsoft.DirectX.Direct3D.GammaRamp
[in, out] Application-supplied GammaRamp structure to fill with the gamma correction ramp.

See Also