MCPcopy Create free account
hub / github.com/SFML/SFML / RenderTexture

Method RenderTexture

src/SFML/Graphics/RenderTexture.cpp:48–52  ·  view source on GitHub ↗

///////////////////////////////////////////////////////

Source from the content-addressed store, hash-verified

46
47////////////////////////////////////////////////////////////
48RenderTexture::RenderTexture(Vector2u size, const ContextSettings& settings)
49{
50 if (!resize(size, settings))
51 throw Exception("Failed to create render texture");
52}
53
54
55////////////////////////////////////////////////////////////

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected