dp_direct_bitmap_bg_pd_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 fourth GBA register of a dp_
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(dp_
direct_ bitmap_ bg_ ptr bg, const span<const affine_ bg_ mat_ attributes>& attributes_ref) -> dp_ direct_ bitmap_ bg_ pd_ register_ hbe_ ptr - Creates a dp_
direct_ bitmap_ bg_ pd_ register_ hbe_ ptr which changes the attributes to commit to the fourth GBA register of a dp_ direct_ bitmap_ bg_ ptr. -
static auto create(dp_
direct_ bitmap_ bg_ ptr bg, const span<const int16_t>& values_ref) -> dp_ direct_ bitmap_ bg_ pd_ register_ hbe_ ptr - Creates a dp_
direct_ bitmap_ bg_ pd_ register_ hbe_ ptr which changes the values to commit to the fourth GBA register of a dp_ direct_ bitmap_ bg_ ptr. -
static auto create_optional(dp_
direct_ bitmap_ bg_ ptr bg, const span<const affine_ bg_ mat_ attributes>& attributes_ref) -> optional<dp_ direct_ bitmap_ bg_ pd_ register_ hbe_ ptr> - Creates a dp_
direct_ bitmap_ bg_ pd_ register_ hbe_ ptr which changes the attributes to commit to the fourth GBA register of a dp_ direct_ bitmap_ bg_ ptr. -
static auto create_optional(dp_
direct_ bitmap_ bg_ ptr bg, const span<const int16_t>& values_ref) -> optional<dp_ direct_ bitmap_ bg_ pd_ register_ hbe_ ptr> - Creates a dp_
direct_ bitmap_ bg_ pd_ register_ hbe_ ptr which changes the values to commit to the fourth GBA register of a dp_ direct_ bitmap_ bg_ ptr.
Public functions
-
auto bg() const -> const dp_
direct_ bitmap_ bg_ ptr& - Returns the dp_
direct_ bitmap_ 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 fourth GBA register of a dp_ direct_ bitmap_ bg_ 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 fourth GBA register of a dp_
direct_ bitmap_ 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 fourth GBA register of a dp_ direct_ bitmap_ bg_ 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 fourth GBA register of a dp_
direct_ bitmap_ bg_ ptr in each screen horizontal line. - void reload_attributes_ref()
- Rereads the content of the referenced attributes to commit to the fourth GBA register of a dp_
direct_ bitmap_ bg_ ptr in each screen horizontal line. - void reload_values_ref()
- Rereads the content of the referenced values to commit to the fourth GBA register of a dp_
direct_ bitmap_ bg_ ptr in each screen horizontal line. -
void swap(dp_
direct_ bitmap_ bg_ pd_ register_ hbe_ ptr& other) - Exchanges the contents of this dp_
direct_ bitmap_ bg_ pd_ register_ hbe_ ptr with those of the other one.
Friends
-
void swap(dp_
direct_ bitmap_ bg_ pd_ register_ hbe_ ptr& a, dp_ direct_ bitmap_ bg_ pd_ register_ hbe_ ptr& b) - Exchanges the contents of a dp_
direct_ bitmap_ bg_ pd_ register_ hbe_ ptr with those of another one.
Function documentation
static dp_ direct_ bitmap_ bg_ pd_ register_ hbe_ ptr bn:: dp_direct_bitmap_bg_pd_register_hbe_ptr:: create(dp_ direct_ bitmap_ bg_ ptr bg,
const span<const affine_ bg_ mat_ attributes>& attributes_ref)
Creates a dp_
| Parameters | |
|---|---|
| bg | dp_ |
| attributes_ref | Reference to an array of 160 affine_ |
| Returns | The requested dp_ |
The attributes are not copied but referenced, so they should outlive the dp_
static dp_ direct_ bitmap_ bg_ pd_ register_ hbe_ ptr bn:: dp_direct_bitmap_bg_pd_register_hbe_ptr:: create(dp_ direct_ bitmap_ bg_ ptr bg,
const span<const int16_t>& values_ref)
Creates a dp_
| Parameters | |
|---|---|
| bg | dp_ |
| values_ref | Reference to an array of 160 values to commit to the fourth GBA register of a dp_ |
| Returns | The requested dp_ |
The values are not copied but referenced, so they should outlive the dp_
static optional<dp_ direct_ bitmap_ bg_ pd_ register_ hbe_ ptr> bn:: dp_direct_bitmap_bg_pd_register_hbe_ptr:: create_optional(dp_ direct_ bitmap_ bg_ ptr bg,
const span<const affine_ bg_ mat_ attributes>& attributes_ref)
Creates a dp_
| Parameters | |
|---|---|
| bg | dp_ |
| attributes_ref | Reference to an array of 160 affine_ |
| Returns | The requested dp_ |
The attributes are not copied but referenced, so they should outlive the dp_
static optional<dp_ direct_ bitmap_ bg_ pd_ register_ hbe_ ptr> bn:: dp_direct_bitmap_bg_pd_register_hbe_ptr:: create_optional(dp_ direct_ bitmap_ bg_ ptr bg,
const span<const int16_t>& values_ref)
Creates a dp_
| Parameters | |
|---|---|
| bg | dp_ |
| values_ref | Reference to an array of 160 values to commit to the fourth GBA register of a dp_ |
| Returns | The requested dp_ |
The values are not copied but referenced, so they should outlive the dp_
span<const affine_ bg_ mat_ attributes> bn:: dp_direct_bitmap_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 the dp_
span<const int16_t> bn:: dp_direct_bitmap_bg_pd_register_hbe_ptr:: values_ref() const
Returns the referenced array of 160 values to commit to the fourth GBA register of a dp_
The values are not copied but referenced, so they should outlive the dp_
void bn:: dp_direct_bitmap_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 the dp_
void bn:: dp_direct_bitmap_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 a dp_
The values are not copied but referenced, so they should outlive the dp_
void bn:: dp_direct_bitmap_bg_pd_register_hbe_ptr:: reload_attributes_ref()
Rereads the content of the referenced attributes to commit to the fourth GBA register of a dp_
The attributes are not copied but referenced, so they should outlive the dp_
void bn:: dp_direct_bitmap_bg_pd_register_hbe_ptr:: reload_values_ref()
Rereads the content of the referenced values to commit to the fourth GBA register of a dp_
The values are not copied but referenced, so they should outlive the dp_
void bn:: dp_direct_bitmap_bg_pd_register_hbe_ptr:: swap(dp_ direct_ bitmap_ bg_ pd_ register_ hbe_ ptr& other)
Exchanges the contents of this dp_
| Parameters | |
|---|---|
| other | dp_ |
void swap(dp_ direct_ bitmap_ bg_ pd_ register_ hbe_ ptr& a,
dp_ direct_ bitmap_ bg_ pd_ register_ hbe_ ptr& b)
Exchanges the contents of a dp_
| Parameters | |
|---|---|
| a | First dp_ |
| b | Second dp_ |