struct Espresso::GammaRamp
- Espresso::GammaRamp
- Struct
- Value
- Object
Overview
Gamma ramp of a monitor.
Defined in:
espresso/monitor/gamma_ramp.crConstructors
-
.new(size : Int32 = 256)
Creates a new gamma ramp with all values set to zero.
Instance Method Summary
-
#blue : Slice(UInt16)
Array of values describing the response of the blue channel.
-
#green : Slice(UInt16)
Array of values describing the response of the green channel.
-
#red : Slice(UInt16)
Array of values describing the response of the red channel.
-
#size : Int32
Number of elements in each channel's array.
-
#to_unsafe
Converts to a GLFW compatible struct.