struct
GBA::BGR16
- GBA::BGR16
- Struct
- Value
- Object
Defined in:
crab/gba/ppu.crConstructors
-
.new(blue : Number, green : Number, red : Number)
Create a new BGR16 struct with the given values.
- .new(value : UInt16)
Instance Method Summary
- #*(operand : Number) : BGR16
- #+(other : BGR16) : BGR16
- #-(other : BGR16) : BGR16
- #blue : UInt16
- #clone
- #copy_with(value _value = @value)
- #green : UInt16
- #red : UInt16
- #value : UInt16
Constructor Detail
def self.new(blue : Number, green : Number, red : Number)
#
Create a new BGR16 struct with the given values. Trucates at 5 bits.