Welcome, Guest. Please login or register. Did you miss your activation email?

Author Topic: patterned textures  (Read 1537 times)

0 Members and 1 Guest are viewing this topic.

JayArby

  • Jr. Member
  • **
  • Posts: 68
    • View Profile
patterned textures
« 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!

cire

  • Full Member
  • ***
  • Posts: 138
    • View Profile
Re: patterned textures
« Reply #1 on: December 11, 2012, 07:46:28 am »
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.

JayArby

  • Jr. Member
  • **
  • Posts: 68
    • View Profile
Re: patterned textures
« Reply #2 on: December 12, 2012, 02:56:35 am »
Ah, perfect! I don't know how I missed that.

 

anything