Textures – Texturing my walls with raycast rendering

I am using SFML 2.4.1 or higher to create my Raycaster FPS game. I want to structure my walls instead of using the SFML color class with RGB coloring to color the walls.

I have my PNG images for structuring the walls.

Here is a picture example:

Screenshot of the rendered raycast view with color coded surfaces

Here's the current code I'm using:

                sf :: color color;
change (worldMap[mapX][mapY])
{
case 1: color = sf :: color :: red; break; //red
case 2: color = sf :: color :: green; break; //Green
Case 3: Color = sf :: Color :: Blue; break; //Blue
Case 4: Color = sf :: Color :: White; break; //White
Default: color = sf :: Color :: Yellow; break; //Yellow
}

// Give x and y pages different brightness
if (side == 1) {
color = sf :: color (color.r / 2, color.g / 2, color.b / 2);
}

// Draw the pixels of the strip as a vertical line
// verLine (x, drawStart, drawEnd, color);

sf :: vertex line[2] =
{
sf :: vertex (sf :: vector2f (x, drawStart), color),
sf :: vertex (sf :: vector2f (x, drawEnd), color)
};
window.draw (line, 2, sf :: Lines);

}