MCPcopy Create free account
hub / github.com/TankOs/SFGUI / Display

Method Display

src/SFGUI/Canvas.cpp:394–402  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

392}
393
394void Canvas::Display() const {
395 if( !m_render_texture ) {
396 return;
397 }
398
399 m_render_texture->display();
400
401 Redraw();
402}
403
404void Canvas::Draw( const sf::Drawable& drawable, const sf::RenderStates& states ) {
405 m_render_texture->draw( drawable, states );

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected