Banuba SDK
Loading...
Searching...
No Matches
bnb::player_api::interfaces::output Class Referenceabstract

The interface is inherited by all classes that must work with player, and responsible for passing the rendered frame to the output view. More...

#include <output.hpp>

Inheritance diagram for bnb::player_api::interfaces::output:
bnb::player_api::frame_output bnb::player_api::texture_output bnb::player_api::window_output bnb::player_api::metal_frame_output bnb::player_api::opengl_frame_output

Public Member Functions

virtual void attach ()=0
 Attach output to the player.
virtual void detach ()=0
 Detach output from the player.
virtual void present (const render_target_sptr &render_target)=0
 Present the drawn frame by the player to the output.

Detailed Description

The interface is inherited by all classes that must work with player, and responsible for passing the rendered frame to the output view.

Definition at line 25 of file output.hpp.

Member Function Documentation

◆ attach()

virtual void bnb::player_api::interfaces::output::attach ( )
pure virtual

Attach output to the player.

Called by the player on the render thread.

◆ detach()

virtual void bnb::player_api::interfaces::output::detach ( )
pure virtual

Detach output from the player.

Called by the player on the render thread.


The documentation for this class was generated from the following file: