Banuba SDK
|
Renders debug views of all enabled features Requires creation with active gl context for correct feature subrenderers' init. More...
#include <debug_renderer.hpp>
Public Member Functions | |
virtual void | surface_changed (int32_t width, int32_t height, float pixel_density_w, float pixel_density_h)=0 |
this pixel density is relative to a real one! | |
virtual void | draw (const std::shared_ptr<::bnb::interfaces::frame_data > &frame_data)=0 |
Static Public Member Functions | |
static std::shared_ptr< debug_renderer > | create () |
This method may return null when debug renderer is unavailable. | |
::bnb::full_image_t | morph_mesh (::bnb::full_image_t src_image, const std::vector< float > &original_verts, const std::vector< float > &morphed_verts, const std::vector< int32_t > &indices, const std::vector< float > &mvp) |
return rgba image, src_image can be rgb or rgba | |
Renders debug views of all enabled features Requires creation with active gl context for correct feature subrenderers' init.
Definition at line 23 of file debug_renderer.hpp.