class
blending_transparency_attributes_hbe_ptrstd::shared_ptr like smart pointer that retains shared ownership of a H-Blank effect which changes the weights of the transparency and intensity blendings in each screen horizontal line.
Keep in mind that fade blending and other blendings can't be enabled at the same time.
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(const span<const blending_
transparency_ attributes>& attributes_ref) -> blending_ transparency_ attributes_ hbe_ ptr - Creates a blending_
transparency_ attributes_ hbe_ ptr which changes the weights of the transparency and intensity blendings in each screen horizontal line. -
static auto create_optional(const span<const blending_
transparency_ attributes>& attributes_ref) -> optional<blending_ transparency_ attributes_ hbe_ ptr> - Creates a blending_
transparency_ attributes_ hbe_ ptr which changes the weights of the transparency and intensity blendings in each screen horizontal line.
Public functions
-
auto attributes_ref() const -> span<const blending_
transparency_ attributes> - Returns the referenced array of 160 blending_
transparency_ attributes objects which indicate the weights of the transparency and intensity blendings in each screen horizontal line. -
void set_attributes_ref(const span<const blending_
transparency_ attributes>& attributes_ref) - Sets the reference to an array of 160 blending_
transparency_ attributes objects which indicate the weights of the transparency and intensity blendings in each screen horizontal line. - void reload_attributes_ref()
- Rereads the content of the referenced blending_
transparency_ attributes objects which indicate the weights of the transparency and intensity blendings in each screen horizontal line. -
void swap(blending_
transparency_ attributes_ hbe_ ptr& other) - Exchanges the contents of this blending_
transparency_ attributes_ hbe_ ptr with those of the other one.
Friends
-
void swap(blending_
transparency_ attributes_ hbe_ ptr& a, blending_ transparency_ attributes_ hbe_ ptr& b) - Exchanges the contents of a blending_
transparency_ attributes_ hbe_ ptr with those of another one.
Function documentation
static blending_ transparency_ attributes_ hbe_ ptr bn:: blending_transparency_attributes_hbe_ptr:: create(const span<const blending_ transparency_ attributes>& attributes_ref)
Creates a blending_
Parameters | |
---|---|
attributes_ref | Reference to an array of 160 blending_ |
Returns | The requested blending_ |
The attributes are not copied but referenced, so they should outlive the blending_
static optional<blending_ transparency_ attributes_ hbe_ ptr> bn:: blending_transparency_attributes_hbe_ptr:: create_optional(const span<const blending_ transparency_ attributes>& attributes_ref)
Creates a blending_
Parameters | |
---|---|
attributes_ref | Reference to an array of 160 blending_ |
Returns | The requested blending_ |
The attributes are not copied but referenced, so they should outlive the blending_
span<const blending_ transparency_ attributes> bn:: blending_transparency_attributes_hbe_ptr:: attributes_ref() const
Returns the referenced array of 160 blending_
The attributes are not copied but referenced, so they should outlive the blending_
void bn:: blending_transparency_attributes_hbe_ptr:: set_attributes_ref(const span<const blending_ transparency_ attributes>& attributes_ref)
Sets the reference to an array of 160 blending_
The attributes are not copied but referenced, so they should outlive the blending_
void bn:: blending_transparency_attributes_hbe_ptr:: reload_attributes_ref()
Rereads the content of the referenced blending_
The attributes are not copied but referenced, so they should outlive the blending_
void bn:: blending_transparency_attributes_hbe_ptr:: swap(blending_ transparency_ attributes_ hbe_ ptr& other)
Exchanges the contents of this blending_
Parameters | |
---|---|
other | blending_ |
void swap(blending_ transparency_ attributes_ hbe_ ptr& a,
blending_ transparency_ attributes_ hbe_ ptr& b)
Exchanges the contents of a blending_
Parameters | |
---|---|
a | First blending_ |
b | Second blending_ |