![]() |
Banuba SDK
|
Static Public Member Functions | |
| static std::shared_ptr< metal_frame_output > | create (const pixel_buffer_callback &callback, pixel_buffer_format format, bool start_receiving_frames=true) |
Additional Inherited Members | |
| Public Types inherited from bnb::player_api::frame_output | |
| using | pixel_buffer_callback = std::function<void(const bnb::full_image_t& pb)> |
| Public Member Functions inherited from bnb::player_api::frame_output | |
| virtual void | once ()=0 |
| Process one frame and pause. | |
| virtual void | loop ()=0 |
| Process frames as it arrives. | |
| Public Member Functions inherited from bnb::player_api::interfaces::output | |
| 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. | |
| Public Member Functions inherited from bnb::player_api::orientable | |
| virtual void | set_orientation (orientation orient, bool mirroring=false)=0 |
Definition at line 8 of file metal_frame_output.hpp.