class GBA::Reg::BLDCNT
- GBA::Reg::BLDCNT
- BitField(UInt16)
- Reference
- Object
Included Modules
Defined in:
crab/gba/reg.crConstant Summary
-
FIELDS =
[{bg0_1st_target_pixel, Bool, 1, false, false}, {bg1_1st_target_pixel, Bool, 1, false, false}, {bg2_1st_target_pixel, Bool, 1, false, false}, {bg3_1st_target_pixel, Bool, 1, false, false}, {obj_1st_target_pixel, Bool, 1, false, false}, {bd_1st_target_pixel, Bool, 1, false, false}, {blend_mode, T, 2, false, false}, {bg0_2nd_target_pixel, Bool, 1, false, false}, {bg1_2nd_target_pixel, Bool, 1, false, false}, {bg2_2nd_target_pixel, Bool, 1, false, false}, {bg3_2nd_target_pixel, Bool, 1, false, false}, {obj_2nd_target_pixel, Bool, 1, false, false}, {bd_2nd_target_pixel, Bool, 1, false, false}, {not_used, T, 2, true, false}] of Tuple(String, Crystal::Macros::Path, Int32, Bool, Bool)
-
SIZE =
16
Constructors
Instance Method Summary
-
#==(other : self)
Returns
true
if this reference is the same as other. - #bd_1st_target_pixel : Bool
- #bd_1st_target_pixel=(val : Bool) : Nil
- #bd_2nd_target_pixel : Bool
- #bd_2nd_target_pixel=(val : Bool) : Nil
- #bg0_1st_target_pixel : Bool
- #bg0_1st_target_pixel=(val : Bool) : Nil
- #bg0_2nd_target_pixel : Bool
- #bg0_2nd_target_pixel=(val : Bool) : Nil
- #bg1_1st_target_pixel : Bool
- #bg1_1st_target_pixel=(val : Bool) : Nil
- #bg1_2nd_target_pixel : Bool
- #bg1_2nd_target_pixel=(val : Bool) : Nil
- #bg2_1st_target_pixel : Bool
- #bg2_1st_target_pixel=(val : Bool) : Nil
- #bg2_2nd_target_pixel : Bool
- #bg2_2nd_target_pixel=(val : Bool) : Nil
- #bg3_1st_target_pixel : Bool
- #bg3_1st_target_pixel=(val : Bool) : Nil
- #bg3_2nd_target_pixel : Bool
- #bg3_2nd_target_pixel=(val : Bool) : Nil
- #blend_mode : UInt16
- #blend_mode=(val : UInt16) : Nil
-
#hash(hasher)
See
Object#hash(hasher)
- #layer_target?(layer : Int, target : Int) : Bool
- #not_used : UInt16
- #not_used=(val : UInt16) : Nil
- #obj_1st_target_pixel : Bool
- #obj_1st_target_pixel=(val : Bool) : Nil
- #obj_2nd_target_pixel : Bool
- #obj_2nd_target_pixel=(val : Bool) : Nil
-
#to_s(io : IO) : Nil
Appends a short String representation of this object which includes its class name and its object address.
- #value : T
- #value=(value : T)
Instance methods inherited from module GBA::Reg::Base16
read_byte(byte_num : Int) : UInt8
read_byte,
write_byte(byte_num : Int, byte : UInt8) : UInt8
write_byte
Constructor Detail
Instance Method Detail
def ==(other : self)
#
Description copied from class Reference
Returns true
if this reference is the same as other. Invokes same?
.
def to_s(io : IO) : Nil
#
Description copied from class Reference
Appends a short String representation of this object which includes its class name and its object address.
class Person
def initialize(@name : String, @age : Int32)
end
end
Person.new("John", 32).to_s # => #<Person:0x10a199f20>