class Espresso::GammaRamp

Overview

Gamma ramp of a monitor.

Defined in:

espresso/gamma_ramp.cr

Constructors

Instance Method Summary

Constructor Detail

def self.new(size : Int32 = 256) #

Creates a new gamma ramp with all values set to zero.


[View source]

Instance Method Detail

def blue : Slice(UInt16) #

Array of values describing the response of the blue channel.


[View source]
def green : Slice(UInt16) #

Array of values describing the response of the green channel.


[View source]
def red : Slice(UInt16) #

Array of values describing the response of the red channel.


[View source]
def size #

Number of elements in each channel's array.


[View source]
def to_unsafe #

Converts to a GLFW compatible struct.


[View source]