Display » Blending module

Allows transparency and fade effects for sprites and backgrounds.

Files

file bn_blending.h
file bn_blending_actions.h
file bn_blending_fade_alpha.h
file bn_blending_fade_alpha_hbe_ptr.h
file bn_blending_transparency_attributes.h
file bn_blending_transparency_attributes_hbe_ptr.h

Namespaces

namespace bn
Main Butano namespace.
namespace bn::blending
Blending related functions.

Classes

class bn::blending_transparency_alpha_manager
Manages the weight of the transparency blending.
class bn::blending_transparency_alpha_to_action
Modifies the weight of the transparency blending until it has a given state.
class bn::blending_transparency_alpha_loop_action
Modifies the weight of the transparency blending from a minimum to a maximum. When the weight is equal to the given final state, it goes back to its initial state and vice versa.
class bn::blending_transparency_alpha_toggle_action
Changes the weight of the transparency blending when the action is updated a given number of times.
class bn::blending_intensity_alpha_manager
Manages the weight of the intensity blending.
class bn::blending_intensity_alpha_to_action
Modifies the weight of the intensity blending until it has a given state.
class bn::blending_intensity_alpha_loop_action
Modifies the weight of the intensity blending from a minimum to a maximum. When the weight is equal to the given final state, it goes back to its initial state and vice versa.
class bn::blending_intensity_alpha_toggle_action
Changes the weight of the intensity blending when the action is updated a given number of times.
class bn::blending_transparency_top_weight_manager
Manages the weight of the transparency blending for the top layer.
class bn::blending_transparency_top_weight_to_action
Modifies the weight of the transparency blending for the top layer until it has a given state.
class bn::blending_transparency_top_weight_loop_action
Modifies the weight of the transparency blending for the top layer from a minimum to a maximum. When the weight is equal to the given final state, it goes back to its initial state and vice versa.
class bn::blending_transparency_top_weight_toggle_action
Changes the weight of the transparency blending for the top layer when the action is updated a given number of times.
class bn::blending_transparency_bottom_weight_manager
Manages the weight of the transparency blending for the bottom layer.
class bn::blending_transparency_bottom_weight_to_action
Modifies the weight of the transparency blending for the bottom layer until it has a given state.
class bn::blending_transparency_bottom_weight_loop_action
Modifies the weight of the transparency blending for the bottom layer from a minimum to a maximum. When the weight is equal to the given final state, it goes back to its initial state and vice versa.
class bn::blending_transparency_bottom_weight_toggle_action
Changes the weight of the transparency blending for the bottom layer when the action is updated a given number of times.
class bn::blending_fade_alpha_manager
Manages the weight of the fade blending.
class bn::blending_fade_alpha_to_action
Modifies the weight of the fade blending until it has a given state.
class bn::blending_fade_alpha_loop_action
Modifies the weight of the fade blending from a minimum to a maximum. When the weight is equal to the given final state, it goes back to its initial state and vice versa.
class bn::blending_fade_alpha_toggle_action
Changes the weight of the fade blending when the action is updated a given number of times.
class bn::blending_fade_alpha
Manages the attributes to commit to the GBA fade blending register.
class bn::blending_fade_alpha_hbe_ptr
std::shared_ptr like smart pointer that retains shared ownership of a H-Blank effect which changes the weight of the fade blending in each screen horizontal line.
class bn::blending_transparency_attributes
Manages the attributes to commit to the GBA transparency and intensity blendings register.
class bn::blending_transparency_attributes_hbe_ptr
std::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.