How to render a texture on a triangle strip?
<p>I'm creating an android side scrolling game using the libgdx library. I am using <code>immediateModeRenderer20</code> in <code>GL_TRIANGLE_STRIP</code> mode to render 2D triangle strips that scroll infinitely. The renderering works fine, I have figured out how to use solid colors, gradients and alternating patterns on the strip. </p>

<p>Is there any way to render a triangle strip but overlay it with a .png or a Texture or something like that?</p>

<p>I have looked into the <code>texCoord(...)</code> method in the <code>immediateModeRenderer20</code> <a href="https://libgdx.badlogicgames.com/nightlies/docs/api/com/badlogic/gdx/graphics/glutils/ImmediateModeRenderer20.html" rel="nofollow">docs</a> but I haven't found any solid examples on how to use it.</p>

<p>If anyone needs any code snippets or images, let me know.</p>