struct GLFWgammaramp

Overview

Gamma ramp.

This describes the gamma ramp for a monitor.

Added in version 3.0.

See also:

monitor_gamma

glfwGetGammaRamp glfwSetGammaRamp

#include <glfw3.h>

struct GLFWgammaramp
{
    // fields

    unsigned short* red;
    unsigned short* green;
    unsigned short* blue;
    unsigned int size;
};

Fields

unsigned short* red

An array of value describing the response of the red channel.

unsigned short* green

An array of value describing the response of the green channel.

unsigned short* blue

An array of value describing the response of the blue channel.

unsigned int size

The number of elements in each array.