Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Sets the gamma controls.
Syntax
HRESULT SetGammaControl(
[in] const DXGI_GAMMA_CONTROL *pArray
);
Parameters
[in] pArray
Type: const DXGI_GAMMA_CONTROL*
A pointer to a DXGI_GAMMA_CONTROL structure that describes the gamma curve to set.
Return value
Type: HRESULT
Returns one of the DXGI_ERROR values.
Remarks
Note Calling this method is only supported while in full-screen mode.
For info about using gamma correction, see Using gamma correction.
Requirements
Requirement | Value |
---|---|
Target Platform | Windows |
Header | dxgi.h |
Library | DXGI.lib |