package glfw-ocaml

  1. Overview
  2. Docs
Legend:
Library
Module
Module type
Parameter
Class
Class type

GammaRamp module. Describes the gamma ramp for a monitor.

type t = private {
  1. red : channel;
  2. green : channel;
  3. blue : channel;
}
val create : red:channel -> green:channel -> blue:channel -> t

Create a gamma ramp from three user-supplied channels.

  • raises Failure

    if the supplied channels are of different lengths.

val make : size:int -> t

Create an empty gamma ramp with three channels of the given size.

OCaml

Innovation. Community. Security.