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

Method update

src/SFML/Graphics/Texture.cpp:551–555  ·  view source on GitHub ↗

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

Source from the content-addressed store, hash-verified

549
550////////////////////////////////////////////////////////////
551void Texture::update(const std::uint8_t* pixels)
552{
553 // Update the whole texture
554 update(pixels, m_size, {0, 0});
555}
556
557
558////////////////////////////////////////////////////////////

Callers

nothing calls this directly

Calls 7

copyToImageMethod · 0.80
getPixelsPtrMethod · 0.80
getUniqueIdFunction · 0.70
ensureExtensionsInitFunction · 0.70
updateFunction · 0.50
getSizeMethod · 0.45
setActiveMethod · 0.45

Tested by

no test coverage detected