struct RGB

Defined in:

cryboy/ppu.cr

Constructors

Instance Method Summary

Constructor Detail

def self.from_bgr16(bgr : UInt16, should_convert : Bool) : RGB #

[View source]
def self.new(red : UInt8, green : UInt8, blue : UInt8) #

[View source]
def self.new(grey : UInt8) #

[View source]

Instance Method Detail

def blue : UInt8 #

[View source]
def blue=(blue : UInt8) #

[View source]
def convert_from_cgb : RGB #

[View source]
def green : UInt8 #

[View source]
def green=(green : UInt8) #

[View source]
def red : UInt8 #

[View source]
def red=(red : UInt8) #

[View source]