IDirect3DDevice9::GetGammaRamp method (d3d9.h)

Retrieves the gamma correction ramp for the swap chain.

Syntax

void GetGammaRamp(
  [in]      UINT         iSwapChain,
  [in, out] D3DGAMMARAMP *pRamp
);

Parameters

[in] iSwapChain

Type: UINT

An unsigned integer specifying the swap chain.

[in, out] pRamp

Type: D3DGAMMARAMP*

Pointer to an application-supplied D3DGAMMARAMP structure to fill with the gamma correction ramp.

Return value

None

Requirements

Requirement Value
Target Platform Windows
Header d3d9.h (include D3D9.h)
Library D3D9.lib

See also

IDirect3DDevice9

IDirect3DDevice9::SetGammaRamp

IDirect3DSwapChain9