class
#include <bn_affine_bg_pd_register_hbe_ptr.h>
affine_bg_pd_register_hbe_ptr std::shared_ptr like smart pointer that retains shared ownership of a HBlank effect which changes the attributes or the values to commit to the fourth GBA register of an affine_
Base classes
 class hbe_ptr
 std::shared_ptr like smart pointer that retains shared ownership of a HBlank effect.
Public static functions

static auto create(affine_
bg_ bg, const span<const affine_ptr bg_ >& attributes_ref) > affine_mat_ attributes bg_ pd_ register_ hbe_ ptr  Creates an affine_
bg_ which changes the attributes to commit to the fourth GBA register of an affine_pd_ register_ hbe_ ptr bg_ .ptr 
static auto create(affine_
bg_ bg, const span<const int16_t>& values_ref) > affine_ptr bg_ pd_ register_ hbe_ ptr  Creates an affine_
bg_ which changes the values to commit to the fourth GBA register of an affine_pd_ register_ hbe_ ptr bg_ .ptr 
static auto create_optional(affine_
bg_ bg, const span<const affine_ptr bg_ >& attributes_ref) > optional<affine_mat_ attributes bg_ >pd_ register_ hbe_ ptr  Creates an affine_
bg_ which changes the attributes to commit to the fourth GBA register of an affine_pd_ register_ hbe_ ptr bg_ .ptr 
static auto create_optional(affine_
bg_ bg, const span<const int16_t>& values_ref) > optional<affine_ptr bg_ >pd_ register_ hbe_ ptr  Creates an affine_
bg_ which changes the values to commit to the fourth GBA register of an affine_pd_ register_ hbe_ ptr bg_ .ptr
Public functions

auto bg() const > const affine_
bg_ &ptr  Returns the affine_
bg_ modified by this HBlank effect.ptr 
auto attributes_ref() const > span<const affine_
bg_ >mat_ attributes  Returns the referenced array of 160 affine_
bg_ objects with the attributes to commit to the fourth GBA register of an affine_mat_ attributes bg_ in each screen horizontal line.ptr  auto values_ref() const > span<const int16_t>
 Returns the referenced array of 160 values to commit to the fourth GBA register of an affine_
bg_ in each screen horizontal line.ptr 
void set_attributes_ref(const span<const affine_
bg_ >& attributes_ref)mat_ attributes  Sets the reference to an array of 160 affine_
bg_ objects with the attributes to commit to the fourth GBA register of an affine_mat_ attributes bg_ in each screen horizontal line.ptr  void set_values_ref(const span<const int16_t>& values_ref)
 Sets the reference to an array of 160 values to commit to the fourth GBA register of an affine_
bg_ in each screen horizontal line.ptr  void reload_attributes_ref()
 Rereads the content of the referenced attributes to commit to the fourth GBA register of an affine_
bg_ in each screen horizontal line.ptr  void reload_values_ref()
 Rereads the content of the referenced values to commit to the fourth GBA register of an affine_
bg_ in each screen horizontal line.ptr 
void swap(affine_
bg_ & other)pd_ register_ hbe_ ptr  Exchanges the contents of this affine_
bg_ with those of the other one.pd_ register_ hbe_ ptr
Friends

void swap(affine_
bg_ & a, affine_pd_ register_ hbe_ ptr bg_ & b)pd_ register_ hbe_ ptr  Exchanges the contents of an affine_
bg_ with those of another one.pd_ register_ hbe_ ptr
Function documentation
static affine_bg_pd_register_hbe_ptr bn::affine_bg_pd_register_hbe_ptr:: create(affine_bg_ptr bg,
const span<const affine_bg_mat_attributes >& attributes_ref)
Creates an affine_
Parameters  

bg  affine_ 
attributes_ref  Reference to an array of 160 affine_ 
Returns  The requested affine_ 
The attributes are not copied but referenced, so they should outlive affine_
static affine_bg_pd_register_hbe_ptr bn::affine_bg_pd_register_hbe_ptr:: create(affine_bg_ptr bg,
const span<const int16_t>& values_ref)
Creates an affine_
Parameters  

bg  affine_ 
values_ref  Reference to an array of 160 values to commit to the fourth GBA register of an affine_ 
Returns  The requested affine_ 
The values are not copied but referenced, so they should outlive affine_
static optional<affine_bg_pd_register_hbe_ptr > bn::affine_bg_pd_register_hbe_ptr:: create_optional(affine_bg_ptr bg,
const span<const affine_bg_mat_attributes >& attributes_ref)
Creates an affine_
Parameters  

bg  affine_ 
attributes_ref  Reference to an array of 160 affine_ 
Returns  The requested affine_ 
The attributes are not copied but referenced, so they should outlive affine_
static optional<affine_bg_pd_register_hbe_ptr > bn::affine_bg_pd_register_hbe_ptr:: create_optional(affine_bg_ptr bg,
const span<const int16_t>& values_ref)
Creates an affine_
Parameters  

bg  affine_ 
values_ref  Reference to an array of 160 values to commit to the fourth GBA register of an affine_ 
Returns  The requested affine_ 
The values are not copied but referenced, so they should outlive affine_
span<const affine_bg_mat_attributes > bn::affine_bg_pd_register_hbe_ptr:: attributes_ref() const
Returns the referenced array of 160 affine_
The attributes are not copied but referenced, so they should outlive affine_
span<const int16_t> bn::affine_bg_pd_register_hbe_ptr:: values_ref() const
Returns the referenced array of 160 values to commit to the fourth GBA register of an affine_
The values are not copied but referenced, so they should outlive affine_
void bn::affine_bg_pd_register_hbe_ptr:: set_attributes_ref(const span<const affine_bg_mat_attributes >& attributes_ref)
Sets the reference to an array of 160 affine_
The attributes are not copied but referenced, so they should outlive affine_
void bn::affine_bg_pd_register_hbe_ptr:: set_values_ref(const span<const int16_t>& values_ref)
Sets the reference to an array of 160 values to commit to the fourth GBA register of an affine_
The values are not copied but referenced, so they should outlive affine_
void bn::affine_bg_pd_register_hbe_ptr:: reload_attributes_ref()
Rereads the content of the referenced attributes to commit to the fourth GBA register of an affine_
The attributes are not copied but referenced, so they should outlive affine_
void bn::affine_bg_pd_register_hbe_ptr:: reload_values_ref()
Rereads the content of the referenced values to commit to the fourth GBA register of an affine_
The values are not copied but referenced, so they should outlive affine_
void bn::affine_bg_pd_register_hbe_ptr:: swap(affine_bg_pd_register_hbe_ptr & other)
Exchanges the contents of this affine_
Parameters  

other  affine_ 
void swap(affine_bg_pd_register_hbe_ptr & a,
affine_bg_pd_register_hbe_ptr & b)
Exchanges the contents of an affine_
Parameters  

a  First affine_ 
b  Second affine_ 