SFML community forums
Help => Graphics => Topic started by: JayArby on December 11, 2012, 06:13:55 am
-
Hi,
Is it currently possible to draw a shape with a texture patterned across it? If not, this would be a very useful feature. Is hardware accelerated patterning possible with opengl? I assume it must be.
Thanks!
-
http://www.sfml-dev.org/documentation/2.0/classsf_1_1Texture.php#aaa87d1eff053b9d4d34a24c784a28658
I don't know what "patterned" means but if you want the texture to repeat, then yes.
-
Ah, perfect! I don't know how I missed that.