Texture Question

Ok, I have a question which I think should have a simple answer although I haven’t been able to find it as of yet. Anyway, basically I want to know if you can texture a triangle where it won’t repeat itself. So you can move the texture around the triangle and change the size of the texture and instead of tiling itself if it’s too small to fit or whatever it will just make the rest of the triangle the color of the edge or a constant color. Does anyone know how to do this? Thanks.

Silly me. I guess I read over the part about GL_CLAMP. It works perfectly now, sorry about that.