Expand Minimize

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

Retrieves the gamma correction ramp for the swap chain.

Definition

Visual BasicPublic Function GetGammaRamp( _
    ByVal swapChain As Integer _
) As GammaRamp
C#public GammaRamp GetGammaRamp(
    int swapChain
);
C++public:
GammaRamp GetGammaRamp(
    int swapChain
);
JScriptpublic 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

Show:
© 2014 Microsoft