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

Method Show

src/SFGUI/RenderQueue.cpp:84–92  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

82}
83
84void RenderQueue::Show( bool show ) {
85 m_show = show;
86
87 for( const auto& primitive : m_primitives ) {
88 primitive->SetVisible( show );
89 }
90
91 Renderer::Get().Invalidate( sfg::Renderer::INVALIDATE_ALL );
92}
93
94void RenderQueue::SetLevel( int level ) {
95 m_level = level;

Callers

nothing calls this directly

Calls 2

SetVisibleMethod · 0.80
InvalidateMethod · 0.45

Tested by

no test coverage detected