Apply textures to shapes?

Hello! I'm currently taking my first baby steps in the world of physics, with the help from the infamous Box2d manual and the Box2d engine by my side, so please beer in mind with me.
Ive read the manual from start to end, but i don't quite see how, with Box2d, i would go on to add textures to the shapes, can someone clear this up for me? I am not sure if it is any help at all, but i am using the SDL API.

-Thanks in advice
Short answer: You don't. Box2D is a physics engine, and not a rendering engine.

You first have to figure out how to display a polygon with a texture. (It's probably a good idea to start learning how OpenGL works with SDL, so you don't have to do all the rotations of the texture yourself.) Anyways.. When you've got this covered, and perhaps encapsulated the code just a little bit, you can use the Box2D engine to dictate the position and rotation of your graphical shapes.

You could experiment with the testbed.

Find the function DrawShape in Render.cpp
Change glBegin(GL_LINE_LOOP) to glBegin(GL_POLYGON), and insert a glBindTexture call before that.

Original thread: https://box2d.org/forum/viewtopic.php?t=94