sprite_affine_mat_pb_register_hbe_ptr class
std::shared_ptr like smart pointer that retains shared ownership of a H-Blank effect which changes the attributes or the values to commit to the second GBA register of a sprite_
Base classes
- class hbe_ptr
- std::shared_ptr like smart pointer that retains shared ownership of a H-Blank effect.
Public static functions
- 
              static auto create(sprite_affine_ mat_ ptr affine_mat, const span<const affine_ mat_ attributes>& attributes_ref) -> sprite_ affine_ mat_ pb_ register_ hbe_ ptr 
- Creates a sprite_affine_ mat_ pb_ register_ hbe_ ptr which changes the attributes to commit to the second GBA register of a sprite_ affine_ mat_ ptr. 
- 
              static auto create(sprite_affine_ mat_ ptr affine_mat, const span<const int16_t>& values_ref) -> sprite_ affine_ mat_ pb_ register_ hbe_ ptr 
- Creates a sprite_affine_ mat_ pb_ register_ hbe_ ptr which changes the values to commit to the second GBA register of a sprite_ affine_ mat_ ptr. 
- 
              static auto create_optional(sprite_affine_ mat_ ptr affine_mat, const span<const affine_ mat_ attributes>& attributes_ref) -> optional<sprite_ affine_ mat_ pb_ register_ hbe_ ptr> 
- Creates a sprite_affine_ mat_ pb_ register_ hbe_ ptr which changes the attributes to commit to the second GBA register of a sprite_ affine_ mat_ ptr. 
- 
              static auto create_optional(sprite_affine_ mat_ ptr affine_mat, const span<const int16_t>& values_ref) -> optional<sprite_ affine_ mat_ pb_ register_ hbe_ ptr> 
- Creates a sprite_affine_ mat_ pb_ register_ hbe_ ptr which changes the values to commit to the second GBA register of a sprite_ affine_ mat_ ptr. 
Public functions
- 
              auto affine_mat() const -> const sprite_affine_ mat_ ptr& 
- Returns the sprite_affine_ mat_ ptr modified by this H-Blank effect. 
- 
              auto attributes_ref() const -> span<const affine_mat_ attributes> 
- Returns the referenced array of 160 affine_mat_ attributes objects with the attributes to commit to the second GBA register of a sprite_ affine_ mat_ ptr in each screen horizontal line. 
- auto values_ref() const -> span<const int16_t>
- Returns the referenced array of 160 values to commit to the second GBA register of a sprite_affine_ mat_ ptr in each screen horizontal line. 
- 
              void set_attributes_ref(const span<const affine_mat_ attributes>& attributes_ref) 
- Sets the reference to an array of 160 affine_mat_ attributes objects with the attributes to commit to the second GBA register of a sprite_ affine_ mat_ ptr in each screen horizontal line. 
- void set_values_ref(const span<const int16_t>& values_ref)
- Sets the reference to an array of 160 values to commit to the second GBA register of a sprite_affine_ mat_ ptr in each screen horizontal line. 
- void reload_attributes_ref()
- Rereads the content of the referenced attributes to commit to the second GBA register of a sprite_affine_ mat_ ptr in each screen horizontal line. 
- void reload_values_ref()
- Rereads the content of the referenced values to commit to the second GBA register of a sprite_affine_ mat_ ptr in each screen horizontal line. 
- 
              void swap(sprite_affine_ mat_ pb_ register_ hbe_ ptr& other) 
- Exchanges the contents of this sprite_affine_ mat_ pb_ register_ hbe_ ptr with those of the other one. 
Friends
- 
              void swap(sprite_affine_ mat_ pb_ register_ hbe_ ptr& a, sprite_ affine_ mat_ pb_ register_ hbe_ ptr& b) 
- Exchanges the contents of a sprite_affine_ mat_ pb_ register_ hbe_ ptr with those of another one. 
Function documentation
              static sprite_
            Creates a sprite_
| Parameters | |
|---|---|
| affine_mat | sprite_ | 
| attributes_ref | Reference to an array of 160 affine_ | 
| Returns | The requested sprite_ | 
The attributes are not copied but referenced, so they should outlive sprite_
              static sprite_
            Creates a sprite_
| Parameters | |
|---|---|
| affine_mat | sprite_ | 
| values_ref | Reference to an array of 160 values to commit to the second GBA register of a sprite_ | 
| Returns | The requested sprite_ | 
The values are not copied but referenced, so they should outlive sprite_
              static optional<sprite_
            Creates a sprite_
| Parameters | |
|---|---|
| affine_mat | sprite_ | 
| attributes_ref | Reference to an array of 160 affine_ | 
| Returns | The requested sprite_ | 
The attributes are not copied but referenced, so they should outlive sprite_
              static optional<sprite_
            Creates a sprite_
| Parameters | |
|---|---|
| affine_mat | sprite_ | 
| values_ref | Reference to an array of 160 values to commit to the second GBA register of a sprite_ | 
| Returns | The requested sprite_ | 
The values are not copied but referenced, so they should outlive sprite_
              span<const affine_
            Returns the referenced array of 160 affine_
The attributes are not copied but referenced, so they should outlive sprite_
              span<const int16_t> bn::
            Returns the referenced array of 160 values to commit to the second GBA register of a sprite_
The values are not copied but referenced, so they should outlive sprite_
              void bn::
            Sets the reference to an array of 160 affine_
The attributes are not copied but referenced, so they should outlive sprite_
              void bn::
            Sets the reference to an array of 160 values to commit to the second GBA register of a sprite_
The values are not copied but referenced, so they should outlive sprite_
              void bn::
            Rereads the content of the referenced attributes to commit to the second GBA register of a sprite_
The attributes are not copied but referenced, so they should outlive sprite_
              void bn::
            Rereads the content of the referenced values to commit to the second GBA register of a sprite_
The values are not copied but referenced, so they should outlive sprite_
              void bn::
            Exchanges the contents of this sprite_
| Parameters | |
|---|---|
| other | sprite_ | 
              void swap(sprite_
            Exchanges the contents of a sprite_
| Parameters | |
|---|---|
| a | First sprite_ | 
| b | Second sprite_ |