IDirect3DDevice9::GetGammaRamp

Retrieves the gamma correction ramp for the swap chain.

void GetGammaRamp(
  UINT  iSwapChain,
  D3DGAMMARAMP * pRamp
);

Parameters

iSwapChain
[in] An unsigned integer specifying the swap chain.
pRamp
[in, out] Pointer to an application-supplied D3DGAMMARAMP structure to fill with the gamma correction ramp.

Return Values

None.

Requirements

Header: Declared in D3d9.h.

See Also

IDirect3DSwapChain9, IDirect3DDevice9::SetGammaRamp