IDirect3DDevice9::GetGammaRamp method (d3d9helper.h)

Retrieves the gamma correction ramp for the swap chain.

Syntax

void GetGammaRamp(
  UINT         iSwapChain,
  D3DGAMMARAMP *pRamp
);

Parameters

iSwapChain

Type: UINT

An unsigned integer specifying the swap chain.

pRamp

Type: D3DGAMMARAMP*

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

Return value

None

Requirements

   
Target Platform Windows
Header d3d9helper.h (include D3D9.h)
Library D3D9.lib

See also

IDirect3DDevice9

IDirect3DDevice9::SetGammaRamp

IDirect3DSwapChain9