MCPcopy Create free account
hub / github.com/Twinklebear/TwinklebearDev-Lessons / loadTexture

Function loadTexture

Lesson3/src/main.cpp:31–37  ·  view source on GitHub ↗

* Loads an image into a texture on the rendering device * @param file The image file to load * @param ren The renderer to load the texture onto * @return the loaded texture, or nullptr if something went wrong. */

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers 1

mainFunction · 0.70

Calls 1

logSDLErrorFunction · 0.70

Tested by

no test coverage detected