Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/SFML/SFML
/ onDraw
Method
onDraw
examples/sound_effects/SoundEffects.cpp:215–219 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
213
}
214
215
void onDraw(sf::RenderTarget& target, sf::RenderStates states) const override
216
{
217
target.draw(m_pitchText, states);
218
target.draw(m_volumeText, states);
219
}
220
221
void onStart() override
222
{
Callers
nothing calls this directly
Calls
1
draw
Method · 0.45
Tested by
no test coverage detected