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

Author Topic: Feature request for sf::Texture  (Read 1649 times)

0 Members and 1 Guest are viewing this topic.

Grimshaw

  • Hero Member
  • *****
  • Posts: 631
  • Nephilim SDK
    • View Profile
Feature request for sf::Texture
« on: March 06, 2012, 12:49:52 am »
I am using SPARK 2 particle systems, and its renderer gets a texture id,
to draw alpha-tested quads as particles.

Because I load my textures as sf::Texture, i cannot use them with SPARK , because there is no method to get the texture id.

Could you please expose such a method ?! Thanks

Laurent

  • Administrator
  • Hero Member
  • *****
  • Posts: 32504
    • View Profile
    • SFML's website
    • Email
Feature request for sf::Texture
« Reply #1 on: March 06, 2012, 12:49:01 pm »
Nop.

Already discussed in other threads ;)

Loading an OpenGL texture is not complicated, look at the OpenGL example in SFML.
Laurent Gomila - SFML developer

Grimshaw

  • Hero Member
  • *****
  • Posts: 631
  • Nephilim SDK
    • View Profile
Feature request for sf::Texture
« Reply #2 on: March 06, 2012, 02:01:06 pm »
But why replicate the texture to use in each of the libraries? When i could share it?

Okay im convinced ahah! :)

Elgan

  • Jr. Member
  • **
  • Posts: 77
    • AOL Instant Messenger - Flat+1,+17+st+Cl
    • View Profile
Feature request for sf::Texture
« Reply #3 on: March 06, 2012, 02:04:42 pm »
nice, one of my fave games, a little descrip[tion, screenshot, and a notice that it is windows would be good for peeps.

it should show the best score;

I had a go, got 13.

Haikarainen

  • Hero Member
  • *****
  • Posts: 545
    • MSN Messenger - fredrik.haikarainen@gmail.com
    • View Profile
    • Email
Feature request for sf::Texture
« Reply #4 on: March 09, 2012, 02:22:53 pm »
SFML is opensource, couldnt be so hard to create a getter yourself for sf::Texture ? ;)