IDirect3DDevice9::GetGammaRamp method

Retrieves the gamma correction ramp for the swap chain.

Syntax


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

Parameters

iSwapChain [in]

Type: UINT

An unsigned integer specifying the swap chain.

pRamp [in, out]

Type: D3DGAMMARAMP*

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

Return value

None.

Requirements

Header

D3D9.h

Library

D3D9.lib

See also

IDirect3DDevice9
IDirect3DSwapChain9
IDirect3DDevice9::SetGammaRamp

 

 

Show: