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

Method applyTexture

src/SFML/Graphics/RenderTarget.cpp:801–807  ·  view source on GitHub ↗

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

Source from the content-addressed store, hash-verified

799
800////////////////////////////////////////////////////////////
801void RenderTarget::applyTexture(const Texture* texture, CoordinateType coordinateType)
802{
803 Texture::bind(texture, coordinateType);
804
805 m_cache.lastTextureId = texture ? texture->m_cacheId : 0;
806 m_cache.lastCoordinateType = coordinateType;
807}
808
809
810////////////////////////////////////////////////////////////

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected