package glfw-ocaml

  1. Overview
  2. Docs

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.

val make : size:int -> t

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

OCaml

Innovation. Community. Security.