class
#include <bn_affine_bg_dy_register_hbe_ptr.h>
affine_bg_dy_register_hbe_ptr 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 the sixth GBA register of an affine_
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(affine_
bg_ ptr bg, const span<const affine_ bg_ mat_ attributes>& attributes_ref) -> affine_ bg_ dy_ register_ hbe_ ptr - Creates an affine_
bg_ dy_ register_ hbe_ ptr which changes the attributes to commit to the the sixth GBA register of an affine_ bg_ ptr. -
static auto create(affine_
bg_ ptr bg, const span<const int>& values_ref) -> affine_ bg_ dy_ register_ hbe_ ptr - Creates an affine_
bg_ dy_ register_ hbe_ ptr which changes the values to commit to the the sixth GBA register of an affine_ bg_ ptr. -
static auto create_optional(affine_
bg_ ptr bg, const span<const affine_ bg_ mat_ attributes>& attributes_ref) -> optional<affine_ bg_ dy_ register_ hbe_ ptr> - Creates an affine_
bg_ dy_ register_ hbe_ ptr which changes the attributes to commit to the the sixth GBA register of an affine_ bg_ ptr. -
static auto create_optional(affine_
bg_ ptr bg, const span<const int>& values_ref) -> optional<affine_ bg_ dy_ register_ hbe_ ptr> - Creates an affine_
bg_ dy_ register_ hbe_ ptr which changes the values to commit to the the sixth GBA register of an affine_ bg_ ptr.
Public functions
-
auto bg() const -> const affine_
bg_ ptr& - Returns the affine_
bg_ ptr modified by this H-Blank effect. -
auto attributes_ref() const -> span<const affine_
bg_ mat_ attributes> - Returns the referenced array of 160 affine_
bg_ mat_ attributes objects with the attributes to commit to the the sixth GBA register of an affine_ bg_ ptr in each screen horizontal line. - auto values_ref() const -> span<const int>
- Returns the referenced array of 160 values to commit to the the sixth GBA register of an affine_
bg_ ptr in each screen horizontal line. -
void set_attributes_ref(const span<const affine_
bg_ mat_ attributes>& attributes_ref) - Sets the reference to an array of 160 affine_
bg_ mat_ attributes objects with the attributes to commit to the the sixth GBA register of an affine_ bg_ ptr in each screen horizontal line. - void set_values_ref(const span<const int>& values_ref)
- Sets the reference to an array of 160 values to commit to the the sixth GBA register of an affine_
bg_ ptr in each screen horizontal line. - void reload_attributes_ref()
- Rereads the content of the referenced attributes to commit to the the sixth GBA register of an affine_
bg_ ptr in each screen horizontal line. - void reload_values_ref()
- Rereads the content of the referenced values to commit to the the sixth GBA register of an affine_
bg_ ptr in each screen horizontal line. -
void swap(affine_
bg_ dy_ register_ hbe_ ptr& other) - Exchanges the contents of this affine_
bg_ dy_ register_ hbe_ ptr with those of the other one.
Friends
-
void swap(affine_
bg_ dy_ register_ hbe_ ptr& a, affine_ bg_ dy_ register_ hbe_ ptr& b) - Exchanges the contents of an affine_
bg_ dy_ register_ hbe_ ptr with those of another one.
Function documentation
static affine_ bg_ dy_ register_ hbe_ ptr bn:: affine_bg_dy_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_ dy_ register_ hbe_ ptr bn:: affine_bg_dy_register_hbe_ptr:: create(affine_ bg_ ptr bg,
const span<const int>& values_ref)
Creates an affine_
Parameters | |
---|---|
bg | affine_ |
values_ref | Reference to an array of 160 values to commit to the the sixth 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_ dy_ register_ hbe_ ptr> bn:: affine_bg_dy_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_ dy_ register_ hbe_ ptr> bn:: affine_bg_dy_register_hbe_ptr:: create_optional(affine_ bg_ ptr bg,
const span<const int>& values_ref)
Creates an affine_
Parameters | |
---|---|
bg | affine_ |
values_ref | Reference to an array of 160 values to commit to the the sixth 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_dy_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 int> bn:: affine_bg_dy_register_hbe_ptr:: values_ref() const
Returns the referenced array of 160 values to commit to the the sixth GBA register of an affine_
The values are not copied but referenced, so they should outlive affine_
void bn:: affine_bg_dy_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_dy_register_hbe_ptr:: set_values_ref(const span<const int>& values_ref)
Sets the reference to an array of 160 values to commit to the the sixth GBA register of an affine_
The values are not copied but referenced, so they should outlive affine_
void bn:: affine_bg_dy_register_hbe_ptr:: reload_attributes_ref()
Rereads the content of the referenced attributes to commit to the the sixth GBA register of an affine_
The attributes are not copied but referenced, so they should outlive affine_
void bn:: affine_bg_dy_register_hbe_ptr:: reload_values_ref()
Rereads the content of the referenced values to commit to the the sixth GBA register of an affine_
The values are not copied but referenced, so they should outlive affine_
void bn:: affine_bg_dy_register_hbe_ptr:: swap(affine_ bg_ dy_ register_ hbe_ ptr& other)
Exchanges the contents of this affine_
Parameters | |
---|---|
other | affine_ |
void swap(affine_ bg_ dy_ register_ hbe_ ptr& a,
affine_ bg_ dy_ register_ hbe_ ptr& b)
Exchanges the contents of an affine_
Parameters | |
---|---|
a | First affine_ |
b | Second affine_ |