Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/SFML/SFML
/ draw
Method
draw
examples/shader/Shader.cpp:75–79 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
73
}
74
75
void draw(sf::RenderTarget& target, sf::RenderStates states) const override
76
{
77
states.shader = &m_shader;
78
target.draw(m_text, states);
79
}
80
81
explicit WaveBlur(const sf::Font& font, sf::Shader&& shader) :
82
m_text(font,
Callers
nothing calls this directly
Calls
1
draw
Method · 0.45
Tested by
no test coverage detected